当前位置:网站首页>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
边栏推荐
- How to bind a process to a specified CPU
- mysql分表之后如何平滑上线详解
- SWAT—Samba WEB管理工具介绍
- Usage Summary of datetime and timestamp in MySQL
- JDBC – PreparedStatement – 如何设置 Null 值?
- Promise details
- CUMCM 2021-B:乙醇偶合制備C4烯烴(2)
- Go interface usage
- Full stack cross compilation x86 completion process experience sharing
- MBA-day5数学-应用题-工程问题
猜你喜欢

Visual solutions to common problems (VIII) mathematical formulas

MySQL Router重装后重新连接集群进行引导出现的——此主机中之前已配置过的问题

Intuitive understanding entropy

Mysql8.0安装指南

Solution architect's small bag - 5 types of architecture diagrams

Constraintlayout layout

初探 Lambda Powertools TypeScript

Visual common drawing (V) scatter diagram

26. Delete duplicates in ordered array

GO接口使用
随机推荐
Solutions to common problems in visualization (VIII) solutions to problems in shared drawing area
26. 删除有序数组中的重复项
Upgrade the functions available for cpolar intranet penetration
26. Delete duplicates in ordered array
Excel·VBA数组冒泡排序函数
VM set up static virtual machine
Visual common drawing (V) scatter diagram
MIT:用无监督为世界上每个像素都打上标签!人类:再也不用为1小时视频花800个小时了
面向全球市场,PlatoFarm今日登录HUOBI等全球四大平台
GO接口使用
Manjaro installation and configuration (vscode, wechat, beautification, input method)
mysql插入datetime类型字段不加单引号插入不成功
MySQL Router重装后重新连接集群进行引导出现的——此主机中之前已配置过的问题
学习 Go 语言 0x07:《Go 语言之旅》中 Stringer 练习题代码
CUMCM 2021-B:乙醇偶合制备C4烯烃(2)
Esp32 learning - add folder to project
MBA - day5 mathématiques - Questions d'application - Questions d'ingénierie
Promise details
Simple thoughts on the design of a microblog database
Mysql8.0安装指南