当前位置:网站首页>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
边栏推荐
- Code implementation of general bubbling, selection, insertion, hill and quick sorting
- redis优化系列(二)Redis主从原理、主从常用配置
- 精彩回顾|「源」来如此 第六期 - 开源经济与产业投资
- An interesting interview question
- 26. 删除有序数组中的重复项
- Introduction to neo4j authoritative guide, recommended by Qiu Bojun, Zhou Hongxiang, Hu Xiaofeng, Zhou Tao and other celebrities
- 26. Delete duplicates in ordered array
- 如何使用JDBC CallableStatement.wasNull()方法调用来查看最后一个OUT参数的值是否为 SQL NULL
- Strongest date regular expression
- 数据库管理软件SQLPro for SQLite for Mac 2022.30
猜你喜欢

Excel · VBA custom function to obtain multiple cell values

关于JUC三大常用辅助类

进程间通信 -- 消息队列

精彩回顾|「源」来如此 第六期 - 开源经济与产业投资

About the three commonly used auxiliary classes of JUC

An interesting interview question

语雀文档编辑器将开源:始于但不止于Markdown

redis优化系列(二)Redis主从原理、主从常用配置

Canvas详解

Visual common drawing (I) stacking diagram
随机推荐
ConstraintLayout布局
Mysql8. 0 installation guide
MySQL partition table can be classified by month
Facing the global market, platefarm today logs in to four major global platforms such as Huobi
FileProvider 路径配置策略的理解
mysql插入datetime类型字段不加单引号插入不成功
Derivation and regularization
Mysql中一千万条数据怎么快速查询
MySQL分区表实现按月份归类
VIM + ctags + cscope development environment construction guide
Ueditor -- limitation of 4m size of image upload component
26. Delete duplicates in ordered array
Cumcm 2021 - B: préparation d'oléfines C4 par couplage éthanol (2)
CUMCM 2021-b: preparation of C4 olefins by ethanol coupling (2)
学习 Go 语言 0x03:理解变量之间的依赖以及初始化顺序
Mba-day6 logic - hypothetical reasoning exercises
使用 PHP PDO ODBC 示例的 Microsoft Access 数据库
The difference between restful and soap
Visual common drawing (I) stacking diagram
软件测试人员,如何优秀的提Bug?