Register
It is currently Wed Apr 23, 2014 8:26 am

Check file names for characters invalid to Windows


All times are UTC - 6 hours


Post new topic Reply to topic  [ 1 post ] 
Author Message
 PostPosted: Wed Nov 05, 2008 8:22 am   

Joined: Wed Nov 05, 2008 8:12 am
Posts: 1
Location: North Dakota
I need a script that will check a directory and all of its contents' file names for characters that are invalid to Windows.
Code:
\/:*?"<>|


If the script does find invalid characters in the file name, I would like it to prompt for a new file name.

Lastly, I would like the script to generate a log file at the end, of all of the files that were renamed.


Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP