October 29, 200916 yr I have 355 files names Folder.jpg in my music library that I need to change to folder.jpg. When I batch ripped a bunch of stuff I had a typo in it. I was hoping someone would know how I could rename all the Folder.jpg to folder.jpg with a little unix script. I've been looking at something like: find -name Folder.jpg -print0 | xargs mv . . . But don't know how to do the rest Any other suggestions? thanks dave
October 29, 200916 yr I have 355 files names Folder.jpg in my music library that I need to change to folder.jpg. When I batch ripped a bunch of stuff I had a typo in it. I was hoping someone would know how I could rename all the Folder.jpg to folder.jpg with a little unix script. I've been looking at something like: find -name Folder.jpg -print0 | xargs mv . . . But don't know how to do the rest Any other suggestions? thanks dave Are you trying to make names with mixed case into all lower case? Is it just the one name "Folder.jpg" or is it many different names, all currently with leading capital letters? Please clarify.
October 29, 200916 yr Author Ok after some work on google fixing my search strings I found something that worked quite well. Here it is: find . -iname Folder.jpg -execdir mv {} folder.jpg \; Just in case someone else needs something similar. dave
Archived
This topic is now archived and is closed to further replies.