This post will show you how to exclude empty folders from the file copying process in Windows. Thus making it a lot easier while copying all your important files.
Why would someone want to remove empty folders?
Removing the empty folders ensures that you don’t spend more time looking for files inside them. You keep the folder structure clean and relevant.
Let us find out how to do this using the Windows Xcopy tool and an alternative software, Copywhiz.
What is Copywhiz?
Enhance your file-copy experience with Copywhiz as it lets you to have more flexibility & more control over the file-copying process. Here is how Copywhiz makes file copying a breeze:
Steps to exclude empty folders
The Xcopy command Xcopy Source [Destination] /S copies directories and sub directories except empty ones. This implies that all the folders will be copied except the ones that are empty.
For Ex: To copy all contents from the folder “projects” to the folder “backup” except the empty folders, the following command line will be used:
xcopy d:\projects e:\backup /S
This will copy all the folders leaving out those with no files in them.
But these commands are definitely not so easy. System administrators use it. But Xcopy is really hard for common users.
Let me show an easier and straightforward way to do this.
3. Copywhiz Window will open. Click on ‘Advanced Settings’ button and select “Do not keep empty folders” and click ‘OK’.
4. Click on the “Paste Now” button. Your files would have been copied even before you actually go to the destination and check for them. This is the added advantage of high speed.
You now know how Copywhiz makes the whole process a lot more fun and easy in just a few clicks.
For tutorial videos, check out this page.
Subscribe to our YouTube channel for interesting videos.
Learn more about Copywhiz.
So why wait? Go try it. Download the free trial from here.
Have a good day.
Thanks for staying till the end :)