Rename tons of files

Posted by ninjascorner on Server Fault See other posts from Server Fault or by ninjascorner
Published on 2012-10-23T23:33:26Z Indexed on 2012/10/24 5:09 UTC
Read the original article Hit count: 526

Filed under:
|
|
|

How can I rename all the files with a pattern like this:

thumb_f318d8a580ca5717d686a323b6c2ca0d.jpg0000777
thumb_f18d8aup90ca5717d686a323b6c2c5uh.jpg0000777
thumb_jessr8d8a580ca5717d68623etrtckks.jpg0000777
thumb_4hghd8a580ca5717d686a323b6c2ghjj.jpg0000777
....

to

thumb_f318d8a580ca5717d686a323b6c2ca0d.jpg
thumb_f18d8aup90ca5717d686a323b6c2c5uh.jpg
thumb_jer8d8a580ca5717d686a323etrtckks.jpg
thumb_4hghd8a580ca5717d686a323b6c2ghjj.jpg
....

Thanks

© Server Fault or respective owner

Related posts about terminal

Related posts about regex