Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '2nd correction' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
2nd correction
Authored by: bimtob on Jul 12, '05 08:06:23PM
The backslashes got eaten in the first comment. On the command line you should type the command like this:
rgxmv -t "*.jpg" "s/oldname(\d)(.jpg)/newname\$1\$2/"
and it will print:
oldname1.jpg -> newname1.jpg
oldname2.jpg -> newname2.jpg
then to actually rename the files use the "-r" switch instead of "-t"

[ Reply to This | # ]