4

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?

2
  • BY renaming... Do you mean removing all the unaccepted character?
    – Shoban
    May 31, 2011 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, 2011 at 4:34

2 Answers 2

2

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/

3

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

2
  • 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, 2011 at 4:03
  • It's just another scripting language. Should be easy for you to pick up. :-) yes, you can write reusable script files. Jun 1, 2011 at 12:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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