Author |
Message |
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Sun Oct 09, 2016 12:24 pm Post subject: Copy only the 'root' (level 1) fldrs - no subfldrs or files |
|
|
It is possible to copy only the 'root' (level 1) folders and no subfolders thereof while also excluding all files.
So if there's 8 'root' folders with thousands of folders and files below them in the Source....in the Destination all I would like is 8 empty 'root' folders created, nothing else
Slight variation on a previous discussion about 'Taxonomy jobs' :
Quote: | http://www.tgrmn.com/web/forum/viewtopict4839&highlight=.htm |
tks and am very grateful for your help. Top, top product. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Sun Oct 09, 2016 11:46 pm Post subject: |
|
|
Hi, this should work:
- Source: "xxxxxxxxxxxxxx"
- Target: "yyyyyyyyyyyyyy"
- Include Subfolders: Yes
- Include files: "\*"
- Include subfolders: "**"
- Exclude subfolders: "\*\*"
Explanation:
Include files: "\*" only includes files in the root
Include subfolders: "**" this is a special notation: 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. (see help file)
- Exclude subfolders: "\*\*" But exclude subfolders past level 1 (level 2 or higher) _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Mon Oct 10, 2016 7:56 am Post subject: |
|
|
Yes that worked thank you. |
|
Back to top |
|
|
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Sat Apr 21, 2018 7:29 pm Post subject: |
|
|
Just used this method once again, but to copy the folders from levels 1 & 2 into a new empty structure this time.
Brilliant ! |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
|