Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Copy only the 'root' (level 1) fldrs - no subfldrs or files

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
Alice



Joined: 29 Jan 2015
Posts: 262

PostPosted: Sun Oct 09, 2016 12:24 pm    Post subject: Copy only the 'root' (level 1) fldrs - no subfldrs or files Reply with quote

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 Smile

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

PostPosted: Sun Oct 09, 2016 11:46 pm    Post subject: Reply with quote

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

PostPosted: Mon Oct 10, 2016 7:56 am    Post subject: Reply with quote

Yes that worked thank you.
Back to top
Alice



Joined: 29 Jan 2015
Posts: 262

PostPosted: Sat Apr 21, 2018 7:29 pm    Post subject: Reply with quote

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

PostPosted: Sun Apr 22, 2018 1:02 am    Post subject: Reply with quote

Nice! Cool Smile
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: