The original address: http://blog.sina.com.cn/s/blog_9d25acc60102w6n1.html
Take the PNG file for example
1. Open the terminal
cd to the specified folder
3> The input
for i in *.png;do mv "$i" "${i%.png}@2x.png" ;done
You can do what you want
Read More:
- Batch modification of file names on MAC Linux rename command line
- Adding prefixes to file names in batch by shell under mac
- The Linux terminal appears bash: setup.bash : no such file or directory, and. Bashrc file
- How to batch create folders in Excel form and copy the specified files to a new folder
- Mac realizes file interaction (upload and download) between terminal and server
- Open vs code through terminal using code command in Mac OS
- R language error in match.names (clabs, names(xi)) :
- Method of modifying file and folder permission by Chmod command in Linux
- [Solved] Mac Terminal error: command not found: telnet
- 13. R language: Error in match.names(clabs, names(xi)): The name is not relative to the original name
- bash: /opt/ros/kinetic/ setup.bash : there is no file or directory
- Linux shell gets the file name under the folder
- Error in startup after the supervisor modifies the configuration file: error: cannot open an HTTP server: socket.error reported errno.eaddnotavail
- Terminal appears after anconda is installed on MAC (base)
- Nginx configures different domain names to access different projects
- When installing ROS: bash / opt / ROS / kinetic/ setup.bash : there is no file or directory
- Running bat batch file in background
- Failed to import static file of vue3 static resource. There is no static folder
- Windows batch: File running in the background
- Error when pychart terminal runs pytest: file not found: