MV命令

  1. # 将目录A重命名为B
  2. mv A B

批量重命名文件rename

# 语法: rename 原字符串 新字符串 文件名
# 例:将当前文件夹下 a_01, a_02两个文件名中的a替换为b,其他部分保持不变
rename a b *