Use regular expression to automatically organize files by their name in Windows, using Copywhiz

This is a post for all those who use regular expression for their daily file copy and organization tasks.

What is Copywhiz?

  • Enhance your file-copy experience with Copywhiz as it lets you to have more flexibility & more control over the file copying and backup process. Here is how Copywhiz makes file copying a breeze:
  • Copy only new or modified files
  • Easily pick files by name, extension, folder etc from bunch of folders
  • Automatically organize files based on file attributes and metadata
  • Copy files to multiple folders/computers
  • Copy files from multiple folders and paste them at once
  • Sync files between source and destination
  • Pick files from multiple folders and compress in single .zip file
  • Schedule file backups
  • Several more hidden nuggets designed to make your file-copy task easier.

You can configure Copywhiz for your file copy and backup tasks using regular expression. We have a short video that will show how to automatically organize files in separate folders based on the regular expression you specify.

Video Transcript:

  1. For our video, we took a folder with various files named by employee name in the format of First name followed by last name.
  2. We will now create a folder by the last name and place files in them accordingly using regular expression.
  3. Select the files, right-click and add them to Copywhiz.
  4. Go to the destination folder, right-click and choose Copywhiz Paste Advanced.
  5. The Copywhiz main window will open. Click on the Advanced Settings button in there.
  6. In the Destination Tab, choose the option ‘Organize files inside folders based on name, type, date, etc.’
  7. Click on the Organizer button.
  8. Under the file property section, choose ‘File Name’ and under the format section, choose ‘Regular Expression’ from the drop down.
  9. Type the expression ^(?:\w+ ){1}\K\w+ which will select the second word in the file name.
  10. Click on OK and Paste Now.
  11. You will see the files pasted in separate folders based on the second name of the employee.

Organizing files is so easy with Copywhiz. The best part is, it is customizable based on the task you want to achieve.

You can also schedule automatic file backups and take incremental backups using Copywhiz.

Learn more about Copywhiz. Download the free trial from here.

For short tutorial videos, Check out this page.

Subscribe to our YouTube channel for interesting videos.

Check out our other cool products.

Have a good day!

Thanks for your time :)

Leave a Reply

Your email address will not be published. Required fields are marked *