LearnLog
Tag
Archive
Linux shell 批量重命名带空格的文件
ls
|
while
read
file
;
do
mv
"
$file
"
`
echo
$file
|
sed
"s/ /_/g"
`
-v
;
done
Published:
2015-11-24 17:43
Category:
linux
Tag:
[]
3
TOC
Linux shell 批量重命名带空格的文件
Comments