Ubuntu/MAC批量修改文件名
2021-05-17 本文已影响0人
sharyyy
ubuntu
$ rename 's/^(.{10})//' *
批量删除文件名前10位
Mac
rename -n 's/.{10}(.*)/$1/' *
The -n
is for simulating; remove it to get the actual result.
$ rename 's/^(.{10})//' *
批量删除文件名前10位
rename -n 's/.{10}(.*)/$1/' *
The -n
is for simulating; remove it to get the actual result.