我写了这个脚本:
for filename in TYP_*; do echo mv \"filename\" \"${filename//TYP/standard.ec}\"; done
结果是:
mv: cannot stat '': No such file or directory
mv "TYP_5708" "standard.ec5708"
mv "TYP_5709" "standard.ec5709"
你能帮我吗?
我写了这个脚本:
for filename in TYP_*; do echo mv \"filename\" \"${filename//TYP/standard.ec}\"; done
结果是:
mv: cannot stat '': No such file or directory
mv "TYP_5708" "standard.ec5708"
mv "TYP_5709" "standard.ec5709"
你能帮我吗?