※ 引述《[email protected] (海邊的野孩子)》之銘言:
> ==> 在 [email protected] (悸動) 的文章中提到:
> > find /path -type d | awk '{print "mv", $1, tolower($1)}' | sh
> 這樣 mv 到一半就會找不到目錄
那就用:
find /path -type d | sort -r | awk '{print "mv", $1, tolower($1)}' | sh
--
Resistance is futile.
<[email protected]>
--
※ Origin: 邪惡小鹿鹿 <Deer.twbbs.org> ◆ From: news.math.nctu.edu.tw