How can I copy a folder hierarchy while excluding selected files and folders?

by Jacob Bundgaard   Last Updated June 23, 2018 22:01 PM

I'm looking for a way to copy a folder structure from one place to another, selecting and deselecting individual files and folders for copying, including selecting parts of the content of previously deselected folders.

As an example, for the following hierarchy, I'd like to be able to select four files:

☑ File 1
☐ File 2
☑ Folder 1
  ☑ File 1.1
  ☑ File 1.2
☒ Folder 2
  ☐ File 2.1
  ☑ File 2.2
☐ Folder 3
  ☐ File 3.1
  ☐ File 3.2

and have the destination contain this hierarchy after copying:

- File 1
- Folder 1
  - File 1.1
  - File 1.2
- Folder 2
  - File 2.2

Tools like Windows Explorer, command-line copying and TeraCopy allow only copying entire hierarchies or deselecting individual files. How can I quickly copy the parts of the hierarchy I want while maintaining an overview?

Answers 2

Windows Explorer can do this (Windows 7, 8.x, 10). All you have to do is enable check boxes.

  1. From the Start button, type "File Explorer Options"
  2. Select the View tab
  3. Check Use check boxes to select items
  4. Click OK
August 10, 2016 20:38 PM

TotalCommander can do this as Mick said.

When you have two panes open, select Commands -> Synchronise Directories option. Commands -> Synchronise Directories

It doesn't display strictly like a tree (no collapsing nodes), but it allows one to select individual items. Right clicking a folder allows bulk (de)selection.

Synchronise Directories

Now select Compare for the directories content to be scanned, ready for (de)selection.

Note that in the latter screenshot I have only chosen to Show the Green Arrow Meaning only items on the left and not the right are displayed.

FreeFileSync is almost there, but it's not ideal for this task (at least for me) for two reasons as it removes files/folder from the view immediately when you uncheck them for synchronisation.

Cuul Rinzler
Cuul Rinzler
June 23, 2018 21:16 PM

Related Questions

FastCopy major bug

Updated May 21, 2015 08:00 AM

Unidentifiable alert to "cancel transfers"

Updated September 09, 2018 04:01 AM