I am Charmie

メモとログ

2013-11-11から1日間の記事一覧

ubuntu command renaming files in a directory

The following command replace the string STR1 with STR2 of every file that is *STR1.rename s/'STR1'/'STR2'/ *STR1 To change file extension .txt to .log, rename s/'.txt'/'.log'/ *.txt