64

rename命令-ghosts-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13559120/2069142
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
rename命令用字符串替换的方式批量改变文件名。语法rename(参数)参数原字符串:将文件名需要替换的字符串;目标字符串:将文件名中含有的原字符替换成目标字符串;文件:指定要改变文件名的文件列表。实例将main1.c重命名为main.crenamemain1.cmain.cmain1.crename支持通配符?可替代单个字符可替代多个字符[charset]可替代charset集中的任意单个字符

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK