Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have documents in a file share, and need to do a bulk renaming before uploading them to SharePoint. The reason is that SharePoint doesn't accept some special characters, like &, /, etc.

What's the easiest way to do this?

share|improve this question
    
BY renaming... Do you mean removing all the unaccepted character? –  Shoban May 31 '11 at 4:08
    
Well, it could also mean replacing them, for example replacing all "/" with "-". But yes, the first objective is to get rid of the unaccepted characters. –  Christophe May 31 '11 at 4:34

2 Answers 2

up vote 2 down vote accepted

Powershell is indeed a great way to bulk rename the files. Site which gives step-by-step instructions on how this can be done:

http://www.petestilgoe.com/2011/05/sharepoint-removing-illegal-characters-from-filenames-prior-to-bulk-uploading/

share|improve this answer

I think Powershell would probably serve well here. You can read in the files and rename them, prior to uploading to SharePoint.

share|improve this answer
    
Thanks Marc. I m not familiar with Powershell, where could I find more information on this read and rename option? Can the renaming be automated? –  Christophe Jun 1 '11 at 4:03
    
It's just another scripting language. Should be easy for you to pick up. :-) yes, you can write reusable script files. –  Marc D Anderson Jun 1 '11 at 12:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.