Exclude files based on their last access in Windows using a Robocopy alternative replacement tool

This post will tell you how to exclude certain files from being copied based on the last time you accessed them on Windows PC.

Why exclude files?

There may be a set of files you wouldn’t have used for a long time. Since you do not access them that frequently, it makes no sense to copy them every time with your other regular files.

But we often do not know how to exclude such files from being copied. Doing this manually is not practically possible.

But this is now possible. Let us find out how to do it using Robocopy, a Windows tool an an alternative software, Copywhiz.

What is Copywhiz?

Enhance your file-copy experience with Copywhiz as it lets you have more flexibility and control over the file-copying 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
• Copy files to multiple folders/computers
• Copy files from multiple folders and paste them at once
• 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.

An image depicting one of the features of Copywhiz

Steps to filter files based on their last access

Using Robocopy

The Robocopy command Robocopy Source [Destination] /MAXLAD:n[YYYYMMDD] is used to depict the maximum last access date which means it excludes files unused since ‘n’. Here, n is either days or the exact date whichever you find convenient.

For example: While copying files from the folder “projects” to the folder “backup”, if you want to exclude files that have not been accessed since 10 JAN 2018:

Robocopy c:\projects c:\backup /maxlad:20180110

Similarly, you can even exclude frequently used files from being copied. This is when you have large number of unused files that you need to keep aside as a mere record.

Again, Robocopy can do this using the command Robocopy source [destination] /minlad:n[YYYYMMDD] which depicts the minimum last access days which means it will exclude files used since the specified day/date.

For example: If you want to exclude files accessed since 10 JAN 2018:

Robocopy /minlad: [20180110]

will be used.

Even though Robocopy does it for you, these commands are not easy to use. System administrators use it. But Robocopy is not straightforward for common users.

I will now show you an easier and faster method.

Using Copywhiz

1. Select files using Windows Explorer, right-click on them and choose Copywhiz->Copy from the menu as shown below :

2. Go to the destination folder, right-click inside the folder and select Copywhiz–>Paste Advanced as shown below:

3. Copywhiz Window will open. Click on ‘Advanced Settings’ button and select “Paste by Date – Accessed” and click ‘OK’.

Conclusion

Copywhiz lets you do all of these with just few clicks right from Windows Explorer which could have taken several hours if done manually.

For tutorial videos, check out this page.

Subscribe to our YouTube channel for interesting videos.

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

Have a good day.

Thanks for reading till the end :)

If you found this post useful, please do share it.

Leave a Reply

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