当前位置:网站首页>Usage of rename in cygwin
Usage of rename in cygwin
2022-04-23 11:07:00 【Love blog uncle】
* Cygwin Medium rename
$ rename -h
usage :
rename [options] <expression> <replacement> <file>...
Options :
-v, --verbose Explain what's going on
-s, --symlink act on the target of symlinks
-h, --help Show this help and exit
-V, --version Output version information and exit
For more information, see rename(1).
use man rename 1
You can see more help .
* File rename
Target will 『Hello World Audio file .mp3』 Change it to 『Hello World.mp3』, That is, remove... From the file name 『 Audio file 』( There is a space ).
$ ls
'Hello World Audio file .mp3'
$ rename -v " Audio file " "" *.mp3
`Hello World Audio file .mp3' -> `Hello World.mp3'
command rename -v " Audio file " "" *.mp3
," Audio file " There is a space in the , Spaces need to be enclosed in double quotes . If there is no space , You can use double quotes .
This command applies to all in the current directory .mp3 File rename , Put the in the file name " Audio file "( Without double quotes ) Replace empty , The removed .
* Add : stay cygwin Chinese is displayed in
Locale by 『zh_CN』,Character set by 『UTF-8』.
版权声明
本文为[Love blog uncle]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231102106263.html
边栏推荐
- Source insight 4.0 FAQs
- 我的创作纪念日
- mysql中整数数据类型tinyint详解
- How to quickly query 10 million pieces of data in MySQL
- Software testers, how to mention bugs?
- GO接口使用
- Data analysis learning (I) data analysis and numpy Foundation
- Excel · VBA array bubble sorting function
- 防止web项目中的SQL注入
- Code implementation of general bubbling, selection, insertion, hill and quick sorting
猜你喜欢
The songbird document editor will be open source: starting with but not limited to markdown
Solutions to common problems in visualization (IX) background color
vm设置静态虚拟机
初探 Lambda Powertools TypeScript
Visual common drawing (I) stacking diagram
Go interface usage
SVN的使用:
精彩回顾|「源」来如此 第六期 - 开源经济与产业投资
Mysql8.0安装指南
Excel · VBA array bubble sorting function
随机推荐
26. Delete duplicates in ordered array
Solutions to common problems in visualization (IX) background color
Let the LAN group use the remote device
Three web components (servlet, filter, listener)
MBA-day5数学-应用题-工程问题
Full stack cross compilation x86 completion process experience sharing
《Neo4j权威指南》简介,求伯君、周鸿袆、胡晓峰、周涛等大咖隆重推荐
Solutions to common problems in visualization (VIII) solutions to problems in shared drawing area
mysql创建存储过程及函数详解
Pycharm
初探 Lambda Powertools TypeScript
Mysql8.0安装指南
MBA-day5数学-应用题-工程问题
期货开户哪个公司好?安全靠谱的期货公司谁能推荐几家?
Jupyter Lab 十大高生产力插件
我的创作纪念日
Software testers, how to mention bugs?
SVN的使用:
The difference between restful and soap
Mysql中一千万条数据怎么快速查询