Thursday, February 13, 2014

To rename all the files in a folder

source : http://stackoverflow.com/questions/6329505/how-to-rename-all-file-in-a-folder-with-a-suffix-in-a-single-unix-command

ls | xargs -I {} mv {} Unix_{}

This is useful to change name from abc.txt to Unix_abc.txt

No comments:

Post a Comment