Cosmos
2015/04/21
工程筆記
簡體檔名轉繁體
find . -exec sh -c 'mv "$1" "$(echo $1 | iconv -c -f utf8 -t gb2312 | iconv -c -f gb2312 -t big5 | iconv -c -f big5 -t utf8)"' -- {} \;
mp3加檔名,檔名先存在x檔案
cat x | awk '{printf("mv %02d.mp3 \"%s.mp3\"\n",NR,$0)}' | xargs -n1 -x -d "\n" sh -c
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment