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
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: 
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.
3. Copywhiz Window will open. Click on ‘Advanced Settings’ button and select “Paste by Date – Accessed” and click ‘OK’.
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.
Have a good day.
Thanks for reading till the end :)
If you found this post useful, please do share it.