Ubuntu/MAC批量修改文件名

ubuntu

$ rename 's/^(.{10})//' *
批量删除文件名前10位

Mac

rename -n 's/.{10}(.*)/$1/' *
The -n is for simulating; remove it to get the actual result.

你可能感兴趣的:(Ubuntu/MAC批量修改文件名)