Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Recursive File Renaming filter_list
Author
Message
Recursive File Renaming #1
I use this quite often for changing file extensions (rather than doing it one by one), as Linux is case-sensitive and some people don't keep consistent naming for assets some times, and it really started to get on my nerves.

Red is the extension the files have, green is it what you want to change it to. Of course, this can be used for anything, not just file extensions.

Quote:find . -name "*.DDS" -exec rename -v 's/\.DDS$/\.dds/i' {}

Reply

RE: Recursive File Renaming #2
This is actually pretty useful at times, thanks for the share, Chal.
[Image: a319ef9581853.560e3236d2b0b.png]

Reply

RE: Recursive File Renaming #3
Simple yet useful, this will help people out alot.
[Image: b360081.gif]

Reply

RE: Recursive File Renaming #4
Yea Thanks for this mate.

YellowKnife

Reply

RE: Recursive File Renaming #5
No worries Smile

Reply







Users browsing this thread: 1 Guest(s)