Friday, June 04, 2010

Massive Copy from file system to Sharepoint 2010 Library

Use copy command on a command prompt or PowerShell.

For example you can use:

copy \\host\share\folder\*.* \\SharePointHost\Site\Doclib

Your \\SharePointHost value can be \\ComputerName or \\, etc., just convert the URL to a UNC address; you have to watch out for special characters where you'll have to use escape codes. i.e. %2F, instead of blank spaces and special characters.

PowerShell might be useful in changing your file names to eliminate illegal characters in SharePoint file names; for example, on the web you can't upload a file with an ampersand or a question mark in its name



Post a Comment

<< Home