kola
deepin
2016-09-02 23:37 应该是因为文件名有空格
Reply Like 0 View the author
https://bbs.deepin.org/post/42990
#先用下划线'_'替换空格重命名
find . -name "* *"|
while read name
https://bbs.deepin.org/post/42990
直接用rename命令不行吗
Popular Ranking
ChangePopular Events
More
for i in `ls`; do mv -f $i `echo "5.2.2"$i`; done
为什么.mp4文件不起作用?其他格式的就可以。谢谢
重命名前:
重命名后:
先用下划线(_)替换掉当前目录下含有空格的文件名的文件,shell脚本:
find . -name "* *"|
while read name
do
na=$(echo $name | tr ' ' '_')
mv "$name" $na
done