How do I change a character embedded in filenames to another character?
Posted
by
PilotMom
on Super User
See other posts from Super User
or by PilotMom
Published on 2011-02-08T05:27:40Z
Indexed on
2012/11/18
11:11 UTC
Read the original article
Hit count: 186
batch-rename
in a directory with multiple sub directories I need to change filenames that have the "_" character to a another character "."
example
Current filename: ABC12345_DEF Change to filename: ABC12345.DEF
I need to do this recursively through a directory tree.
the last three characters of the filename are not always the same.
using rename wildcards on either side of the "_" or "." doesn't work (plus I need to do this through several directories)
© Super User or respective owner