The Powerful Disk Space Management Software

Rename Multiple Files at the Same Time

Many know the problem: Files have invalid characters in their names or have to be renamed for other reasons. If there are only one or two files, it is done quickly. But if there are many of them, renaming them all is a time-consuming task in Windows Explorer. Fortunately TreeSize assists you with this task!

With "Bulk Rename" you can rename as many files as you like in one swing. The easy to use dialog offers several operations that can be used to modify the file name:

  • Replace text, optionally by using a regular expression
  • Insert the selected text as a prefix, suffix or at a specific position
  • Serialize the file names
  • Delete a certain text within the filenames or any text at a certain position

A preview allows to see which renaming operations effectively is going to be performed, which prevents wrong bulk renamings.

TreeSite rename bulk option

Application Examples

The task is to prepare thousands of documents for uploading them to a SharePoint server. The problem is that certain characters are not allowed in filenames on SharePoint, that are valid in the normal file system and that are commonly used.

  1. Use the TreeSize Custom File Search to find all files containing unwanted characters using this regular expression: [#%~&*?{}:<>/|]
  2. Click "Check all" in the ribbon bar "Start" as you want all found files to be renamed.
  3. Click "Start" > File Operations >Bulk Rename".
  4. Select "Replace" as renaming rule and again use the regular expression from above.
    Don't forget to check "Use regular expression". Choose an underscore or an empty string to replace the invalid characters.
  5. Press "Add Rule" and check the preview on the right.
  6. Click "Execute". Now your documents are ready to be uploaded on the SharePoint server.

You have a lot of pictures on your computer which have only the date as file name. To get a better overview, you want to insert the name of the event at which the pictures were taken in front of the date.

  1. Use the TreeSize File Search to find all relevant files.
  2. Click "Check all" in the ribbon bar "Start".
  3. Click "Start" > File Operations >Bulk Rename".
  4. Select "Insert as prefix" as renaming rule and enter the corresponding values in the columns.
  5. Click "Execute", done!