jetsung Linux Shell 命令 mv 将当前目录下所有以文件名 ABC- 开头的文件名 for file in ABC-*.mp4; do mv "$file" "${file#ABC-}"; done 利用 ${filename#PRE} 技巧删除对应的文件前缀,其它功能同理。