Bulk Rename

My good friend, Tara, over at Your Own Virtual Assistant was working for a client recently and was tasked with changing the file base name on a large number of files. They were image files, and there were hundreds of them. The current names were just numbers and had no apparent significance. Tara was asked to rename all of the images that pertained to a certain subject. For example, all of the images that had to do with nature would be renamed as follows:




You get the picture. And doing this one-by-one was not going to happen. Not in this lifetime. My interest piqued. In my previous life, on a UNIX platform, I had conquered such a request using a set of SED and AWK commands within a script. It wasn’t overly complicated, but I kept a tight squeeze on that script. Turns out that with one small typo or mistake in syntax, your entire file was wiped out and now appeared to be zero (0) bytes in length!

I Googled rename multiple files windows 10 and low and behold, there was Tara’s way of renaming hundreds of files in just three easy steps:

  1. Select multiple files in a folder. To do so, press and hold down the CTRL key while you are clicking files. Or, to select all of the files in a folder, hold down the CTRL key then type “A”.
  2. After you select the files, right-click one of the files and choose ‘Rename’ from the context menu.
  3. Type the new name, and then press ENTER.

When you rename multiple files, all of the renamed files have the same name with a number in parentheses appended to the name to make the new file name unique. For example, if you type BUDGET as the new name, the first file is named BUDGET. All of the remaining selected files are named BUDGET(x), where x is a unique number, starting with (1).

And there you go! I learn something new everyday! Thank you Tara!