Linux Tips

 

Bulk File Rename

for file in ./*; do echo mv "$file" "${file}.txt"; done

From http://www.linuxforums.org/forum/programming-scripting/124151-bulk-rename-using-terminal.html

 Posted by at 7:46 am

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)