Re: 更改副檔名 - Linux

By Yuri
at 2011-12-09T18:34
at 2011-12-09T18:34
Table of Contents
※ 引述《"[email protected]" <[email protected]>, 看板: Linux》之銘言:
看看有沒有 /usr/X11R6/bin/rename 這個程式。
試試:
find . -name \*.txt | xargs rename 's/txt/c/' '{}'
或是
find . -name \*.txt -exec rename 's/txt/c/' '{}' \;
--
此為local存檔;
因為bs2可以看得到文章的內容,所以我就幫忙轉貼原本的內容
--
看看有沒有 /usr/X11R6/bin/rename 這個程式。
試試:
find . -name \*.txt | xargs rename 's/txt/c/' '{}'
或是
find . -name \*.txt -exec rename 's/txt/c/' '{}' \;
--
此為local存檔;
因為bs2可以看得到文章的內容,所以我就幫忙轉貼原本的內容
--
Tags:
Linux
All Comments

By Odelette
at 2011-12-14T16:46
at 2011-12-14T16:46
Related Posts
Re: 有關匯入module,卻沒有device

By Yuri
at 2011-12-09T18:16
at 2011-12-09T18:16
Re: script執行檔案

By Elvira
at 2011-12-09T18:14
at 2011-12-09T18:14
Re: 關於抹除資料

By Cara
at 2011-12-09T18:13
at 2011-12-09T18:13
Re: AWK 傳結果到SHELL指定變數

By Quanna
at 2011-12-09T18:12
at 2011-12-09T18:12
AWK 傳結果到SHELL指定變數

By Noah
at 2011-12-09T13:15
at 2011-12-09T13:15