我想在文件开头删除“ out_”。 我尝试过:
get-childitem out_doe*.asc | foreach { rename-item $_ $_.Name.Replace("out_", "") }
bash: syntax error near unexpected token `('
rename "out_*.asc" "////*.asc"
syntax error at (user-supplied code), near "*."
谢谢
如何在bash中做到这一点?