Win 2008 - Locate Files/Folders with a Trailing Space

Hello Experts,

I recently migrated 700 GB worth of Mac data to a Windows storage server. Any good ideas on how I can find all the folders with traling spaces??? I need to fix these, but I dont want to manually go through so much data.

ex: "e:\FolderName  \filename.doc

Thanks for your time!!
LVL 7
ottobockAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Malli BoppeCommented:
I don't think windows would allow space  before or after the folder name.
0
ottobockAuthor Commented:
Your faith in Windows is too high. :-)
Your comment is true when creating a new folder in Windows - but you can use google and see the problem exists, and has existed for some time.

This problem frequently arises when moving folders from a Mac OS - in which folders with trailing spaces move over fine and actually can be partially utilized.

But they cause problems when trying to delete them, or when Mac OS client users navigate to the folder on a Windows server.

Therefore, I need to find them somehow, preferably without going one-by-one on 700GB worth of data.
0
Malli BoppeCommented:
Good to know something new about MS :).
0
ottobockAuthor Commented:
I only wish I could think of some route to find these folders. I have a feeling deep down that I will have to search for them manually through Explorer or something.
Thanks!
0
ottobockAuthor Commented:
I got it ~ I had to use the same Mac OS X server I transferred all the data from.

I used this OSX server for an advanced search (File > Find...) search through the Windows data share with options "Kind = Folder" and "Name Ends With = (1 empty space)" and this returned just what I needed!

So a bit of a time waster - but this was actually far easier than working in Windows. Primarily because Windows wont even allow me to rename the folders with trailing spaces. However, if I'm on the Mac server, I can rename the folder (which is on the Windows share!) without a problem.

Strange - strange.
Thanks anyway!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.