Sunday, 14 April 2013

Rename all files in a directory - Ubuntu

Type the following command in the terminal
for i in *; do mv $i "$i.txt"; done

No comments:

Post a Comment