Batch rename
Mario Spinthiras
spinthiras.mario at gmail.com
Thu Aug 20 23:14:09 UTC 2009
open a shell and use this. make sure you quote what is quoted below.
for i in $(find /var/dir/here/ -name "*.jpeg"); do mv $i $(echo $i| sed -e
's/jpeg/jpg/'); done
Regards,
Mario A. Spinthiras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090821/cba4b5d4/attachment.html>
More information about the ubuntu-users
mailing list