Tag Archives for linux
Renaming multiple files in a folder to a numbered format from the terminal
17. October 2011
This is just for my reference. I needed to rename a whole lot of png files in a folder from filename.png, some-other-filename.png to 0.png, 1.png etc. It took a little bit of experimenting and it lead me to: count=0; for … Continue reading
How to find and replace in multiple files from the terminal
12. July 2011
You have to kiss a few frogs before you find a prince. -Anonymous There are times when you d like to search for a word/phrase/regular expression in a number of files together and optionally replace it with something else. If … Continue reading
