DonationCoder.com Software > Post New Requests Here
Recursively replace characters in all file and folder names Sharepoint restrict
lanux128:
i also wanted to suggest 1-4a rename but too bad it doesn't do folders.
though plenty of usage examples here.
4wd:
Maybe overkill but when I have files/dirs I can't rename/delete due to weird characters, I usually boot into a Linux LiveCD and fix things.
One of the guys here could probably knock up a perl/bash script if you provide before/after examples of the names.
40hz:
I was thinking through the logic on the program and wondered what would happen if two different people made different modifications to the same file and then BTsync got ahold of them both.
-questorfla (July 07, 2014, 02:00 AM)
--- End quote ---
Whatever rules you set up for the sync priority would apply. Usually the last time/date modified prevails by default. Otherwise it would be whichever source folder was given priority if both copies were modified since the last sync.
If multiple users updating the "same" file in two different locations becomes a concern, the only real way to deal with that problem is to go with a version control (i.e. Git et al.) approach. If you were to go that route, a separate sync wouldn't be necessary because the VC software would handle replication and synchronization automatically. With version control all your users would effectively be working off the same copy of the file.
It would, however, create some additional steps for the users when accessing or writing a file. And using version control is something many people have trouble getting their head around. So unless the scenario you described is actually occurring, it's probably not wise to employ VC.
questorfla:
All the answers were Great! :Thmbsup: And from most of the usual people. :) I really appreciate your comments and learn as much from the ones that are not exactly what I need as I do from the ones that ARE! That makes it hard to pick any one as the "best" answer. They are all good answers in one way or another.
After spending far too much time on the Microsoft Forums with the same questions (As well as just trying to use only the files that fit their "allowed parameters" ) I discovered to my dismay (but not unexpectedly) that I was at the end of a long line of people who had come before me with their own SharePoint needs and every one of them (more or less) said the REAL solution is "DON'T even THINK about it!"
People far better than I am offered exactly that suggestion in more than one thread. (Not the MS techs of course).
Needless to say, I went with my usual "go ahead and hit your finger with the hammer" approach just to be sure it would "hurt"!
It did.
Now i can see why so many warned me off. The problem with the "unsupported" characters would be just the beginning of a long line of "horror-stories". As soon as you meet one requirement you find the next one you didn't expect. Not the least of which was the fact that is is extremely difficult to tell the difference between a "real, physical, file on my drive" from a SharePoint "sym-link" to same file on some MS server.
Then there is the issue of speed. I won't even go there. Watching 50,000 files try to stay in sync is.... Well, it has to be some form of real torture. I could do them faster with X-copy at a command line.
So now I have to clean up the mess SharePoint Testing created. I will post that separately as the topic is slightly different and may help someone else one day.
Navigation
[0] Message Index
[*] Previous page
Go to full version