Copy files excluding empty folders in Windows using an Xcopy alternative replacement tool

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:

  • 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.
  • Steps to exclude empty folders

    Using Xcopy

    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.

    Using Copywhiz

    1. Select the files to be copied from the Source folder and right-click on it and choose Copywhiz–>Copy 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 “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.

    Conclusion

    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 :)

    Leave a Reply

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