The God of the Sea and the God of War

I was able to spend a little time again this last weekend working on new music material.

Thought I’d link back to my music site here to let you know that for a short period of time, I’m offering up two songs from my upcoming CD (La famille du solénoïde) in their full entirety for a limited time.

Go check out the following postings for more information!

Ok, now back to codin’.

 – Keith Richie

Give us your thoughts on what you would like to see in DeliverPoint 2007!

Hey SharePoint community – Barracuda Tools wants to hear from you! 

As many of you may know, Todd Bleeker – SharePoint MVP, myself and some other really cool and talented developers are in the process of creating and expanding DeliverPoint 2007 – our Enterprise Management tool for SharePoint. 

We have some very exciting plans for DeliverPoint and want to include YOUR valuable experiences and input!!!    Part of our development efforts include adding new functionality to DeliverPoint to extend what it currently offers and to empower SharePoint administrators and other key SharePoint personnel by giving them the necessary tools to simplify their enterprise. 

To help us better understand what some of the most compelling needs within SharePoint Administration are and to make sure we’re not missing any HOT functionality, we’ve created a short online survey. 

To express our gratefulness for your participation in the SharePoint Administration and Wishlist survey, we will be holding a weekly drawing to give away free copies of Todd Bleeker’s and Bill English’s newest SharePoint books! Click on the below link to take the survey.  

http://www.surveymonkey.com/s.asp?u=678093339266

 – Keith Richie

Importing/Exporting SharePoint Document Libraries to/from the File System

Like my previous post, Purging a SharePoint list of all items and folders, here is another quick peice of code that will allow you to either Import a file system folder (And all files and subfolders) into a SharePoint Document Library, and also export a SharePoint Document Library to the file system.

I had a SPExportWebFiles tool in the old Utility Suite that did the exporting, and an Import feature in SPSiteBuilder.  I’ve been waiting to find the time or opportunity to provide both a sample/tool that provided both import and export, and ran into that need today 🙂 So, I thought I’d share.

The code contained in this file: SPIEFolder.txt, contains sample code to do just that, and create the nested folders as necassary to match the target location.

This code should work with either WSS 2.0/SPS2003 or WSS 3.0/MOSS 2007 without change. (I’ve only tested on WSS 3.0/MOSS btw at this time)

(Update 03-06-2007: See this link as this SPIEFolder is now published at http://www.codeplex.com/SPIEFolder )

(Update 06-02-2011: See this link SPIEFolder 1.0 removed and SPIEFolder for SharePoint 2010 is now published at http://blog.krichie.com/my-sharepoint-tools/#spiefolder)

So, got a folder you want to import into a SharePoint Document Library and you want to replicate the folder heirarchy and contents?  Or, want to export a SharePoint Document Library and replicate the folder heirarchy and contents on the file system?  This could help!

Hopefully this weekend, I’ll have some time to provide compiled versions, build scripts, and documentation like SPLSBackup for both this and the List Purging code as noted in my previous post.  But I doubt very seriously that the document will be as extensive as SPLSBackup :), as I don’t see a big need for that :).

HTH

Keith Richie