删除前导空格所以我有一个像一堆文件:bash脚本从文件名
Aaron Lewis - Country Boy.cdg
Aaron Lewis - Country Boy.mp3
Adele - Rolling In The Deep.cdg
Adele - Rolling In The Deep.mp3
Adele - Set Fire To The Rain.cdg
Adele - Set Fire To The Rain.mp3
Band Perry - Better Dig Two.cdg
Band Perry - Better Dig Two.mp3
Band Perry - Pioneer.cdg
Band Perry - Pioneer.mp3
和我需要在bash或鱼脚本删除前导空格。
您的意思是您将文件重命名为前面没有空格,或者这些文件名是否存储在文本文件中,您需要处理它们? – lurker
我想将文件重命名为前面没有空格。 – Acklavidian