Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Batch file for renaming files and folders
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="YerMaw" data-source="post: 1385695" data-attributes="member: 228020"><p>Hello folks, I'm on the process of migrating some data from a Mac server to a Windows server.</p><p></p><p>I'm using robocopy which is great, however I have ran into a little issue. As I'm sure you all know there are certain characters that you cannot use in a folder or file name in Windows.</p><p></p><p>I've got loads of folders and files on the shares on this Mac that have characters such as /?*! in them.</p><p></p><p>Can anybody suggest a batch file/script that I can run to find and strip all of these characters out of any folders or files it finds with these.</p><p></p><p>I do have a Finder script which can do this, however it only runs in the folder you have open in Finder when you run it. I'd like a script that I can run from the root of where the shares are stored which runs through them all. Hope that all makes sense!!! ;D Can anybody help?</p></blockquote><p></p>
[QUOTE="YerMaw, post: 1385695, member: 228020"] Hello folks, I'm on the process of migrating some data from a Mac server to a Windows server. I'm using robocopy which is great, however I have ran into a little issue. As I'm sure you all know there are certain characters that you cannot use in a folder or file name in Windows. I've got loads of folders and files on the shares on this Mac that have characters such as /?*! in them. Can anybody suggest a batch file/script that I can run to find and strip all of these characters out of any folders or files it finds with these. I do have a Finder script which can do this, however it only runs in the folder you have open in Finder when you run it. I'd like a script that I can run from the root of where the shares are stored which runs through them all. Hope that all makes sense!!! ;D Can anybody help? [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Batch file for renaming files and folders
Top