Page 1 of 1

How to copy selection from flat view with preserving folder structure

Posted: 24.03.2021, 15:16
by happy_user
Hello,
is somehow possible to copy files selected from the flat view with their folder structure (relative to flat viewed folder)?

Consider folder "bootstrap" with this structure

Code: Select all

c:\bootstrap
├── css\
│   ├── bootstrap.css
│   ├── bootstrap.min.css
│   ├── bootstrap-theme.css
│   └── bootstrap-theme.min.css
├── js\
│   ├── bootstrap.js
│   └── bootstrap.min.js
└── fonts\
    ├── glyphicons-halflings-regular.eot
    ├── glyphicons-halflings-regular.svg
    ├── glyphicons-halflings-regular.ttf
    └── glyphicons-halflings-regular.woff
Flat viewed ( files with * are selected)

Code: Select all

c:\bootstrap (flat view)
├── *bootstrap.css
├── bootstrap.min.css
├── bootstrap-theme.css
├── bootstrap-theme.min.css
├── *bootstrap.js
├── bootstrap.min.js
├── glyphicons-halflings-regular.eot
├── *glyphicons-halflings-regular.svg
├── glyphicons-halflings-regular.ttf
└── glyphicons-halflings-regular.woff
Copy to folder c:\destination
Desired result:

Code: Select all

c:\destination\
├── css\
│   └── bootstrap.css
├── js\
│   └── bootstrap.js
└── fonts\
    └── glyphicons-halflings-regular.svg
(I always get "flat" result - all files are directly in destination folder - no subfolders.)

Thanks for your suggestions!