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.

上一篇 下一篇

猜你喜欢

热点阅读