EXAMPLES
Given the files foo1, ..., foo9, foo10, ..., foo278, the commands
rename foo foo00 foo?
rename foo foo0 foo??
will turn them into foo001, ..., foo009, foo010, ..., foo278. And
rename .htm .html *.htm
will fix the extension of your html files. Provide an empty string for shortening:
rename '_with_long_name' '' file_with_long_name.*
will remove the substring in the filenames.

这篇博客介绍了如何使用命令行工具批量修改文件名,将文件从foo1到foo278按照特定格式重新命名,并展示了如何统一修改html文件的扩展名。此外,还提到了如何缩短过长的文件名,删除指定子字符串。
2170

被折叠的 条评论
为什么被折叠?



