Difference between revisions of "rename example"
From thelinuxwiki
(Created page with " $ '''ls *.txt''' oldfile1.txt oldfile2.txt oldf...") |
Latest revision as of 03:04, 28 February 2015
$ ls *.txt oldfile1.txt oldfile2.txt oldfile3.txt $ rename -v oldfile newfile *.txt `oldfile1.txt' -> `newfile1.txt' `oldfile2.txt' -> `newfile2.txt' `oldfile3.txt' -> `newfile3.txt' $ ls *.txt newfile1.txt newfile2.txt newfile3.txt