Author |
Message |
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Mon Aug 31, 2015 4:51 pm Post subject: Copy only the folder structure to the Target - no files |
|
|
Is it possible to copy only the folders (inc sub-folders and empty sub-folders) from the Source path to create the Target folder structure, without copying the Source's files into the newly created Target folders ?
I've seen this referred to as a 'Taxonomy job' in some other scenarios where only the folder structure is created on the destination, no files copied.
Many thanks |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8758
|
Posted: Tue Sep 01, 2015 11:48 pm Post subject: |
|
|
Hi, I need to check the source code, but I believe ViceVersa excludes automatically folders if all files inside the folder have been excluded... which would make the above impossible. I will get back to you with more info asap,
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8758
|
Posted: Thu Sep 03, 2015 5:37 am Post subject: |
|
|
Hi, it is possible!
This is some info form the ViceVersa help file:
** Note on subfolders containing only excluded files **
ViceVersa automatically excludes all subfolders that contain only excluded files. For example, if a subfolder X contains 5 documents, which have file extension .doc, and the profile settings exclude all files with extension .doc , then ViceVersa will exclude the subfolder X too, automatically.
This default behavior can be overridden by adding an include subfolder "**" as the first subfolder filter (double *, without surrounding "). With this special filter, subfolders containing only excluded files will not be excluded.
----------------------------------------------------------------------
So to copy only folders:
- add an exclude file filters '*'. This excludes all files
- activate the option to include empty subfolders in profile settings -> subfolder filters
- add an include subfolder filters '**'. This will force inclusion of all subfolders paths. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Thu Sep 03, 2015 7:10 pm Post subject: |
|
|
Worked !!!
All Source Folders copied to the Target, thereby creating a new EMPTY (ie no files present) Folder Structure.
Beyond perfect.
Thank you (again) ! |
|
Back to top |
|
|
|