Testtube Posted March 19, 2010 Report Posted March 19, 2010 If i had a list of files that if they existed on my hard drive that they would be renamed to another predefined name how would you begin that script? Keep in mind the first 10 files may be present but the 11th may not but the 12th may be... So it has to scan through a list and if the file is present rename the file with a predetermined file name How would that be done? Quote
Testtube Posted March 19, 2010 Author Report Posted March 19, 2010 I guess this was as simple as just making a scripting and adding mv as the command no error checking needed if the file doesnt exist it skips and goes to the next in the list. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.