Wednesday, December 28, 2016

Mass rename in BASH - change file extension for all files in folder with a single command

You want to change file extension for all files in a folder? No problem, here is a very quick BASH command for mass rename for all files in a folder. Example: rename .html .php *.html This will change extension from .html to .php for all .html files in the current folder. The command above works on both Linux terminal and Windows BASH editions (i.e. Git Bash for Windows).

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...