"Renaming multiple files seems to be a problem which many newcomers to shell scripting, or administration, have problems with. But once you've done it a few times the actual solutions are very simple."
http://www.debian-administration.org/articles/150
e.g. for i in *.JPG; do mv "$i" "${i/.JPG}".jpg; done
No comments:
Post a Comment