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.