当前位置:网站首页>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
边栏推荐
- Difference between pregnancy box and delivery box
- 全栈交叉编译X86完成过程经验分享
- More reliable model art than deep learning
- Mba-day5 Mathematics - application problems - engineering problems
- Visualization Road (10) detailed explanation of segmentation canvas function
- MySQL sorting feature details
- 全栈交叉编译X86完成过程经验分享
- Learning website materials
- redis优化系列(二)Redis主从原理、主从常用配置
- 学习 Go 语言 0x06:《Go 语言之旅》中 斐波纳契闭包 练习题代码
猜你喜欢
More reliable model art than deep learning
Introduction to neo4j authoritative guide, recommended by Qiu Bojun, Zhou Hongxiang, Hu Xiaofeng, Zhou Tao and other celebrities
Visualization Road (10) detailed explanation of segmentation canvas function
vm设置静态虚拟机
About the three commonly used auxiliary classes of JUC
Visual common drawing (III) area map
How to quickly download vscode
语雀文档编辑器将开源:始于但不止于Markdown
R-Drop:更强大的Dropout正则方法
Excel·VBA数组冒泡排序函数
随机推荐
Precautions for latex formula
VM set up static virtual machine
Code implementation of general bubbling, selection, insertion, hill and quick sorting
SVN的使用:
Mba-day5 Mathematics - application problems - engineering problems
语雀文档编辑器将开源:始于但不止于Markdown
学习 Go 语言 0x01:从官网开始
Visual solutions to common problems (VIII) mathematical formulas
How to quickly download vscode
全栈交叉编译X86完成过程经验分享
@valid,@Validated 的学习笔记
使用 PHP PDO ODBC 示例的 Microsoft Access 数据库
Typora operation skill description (I) md
Solutions to common problems in visualization (VIII) solutions to problems in shared drawing area
Detailed introduction to paging exploration of MySQL index optimization
vm设置静态虚拟机
Using El popconfirm and El backtop does not take effect
妊娠箱和分娩箱的区别
The difference between restful and soap
Learning website materials