Go Back   Scooter Forums > Beyond Compare 3 Discussion > Scripting
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 15-Aug-2012, 02:45 PM
av8orct av8orct is offline
New User
 
Join Date: Aug 2012
Posts: 2
Default Exclude a subfolder

I am using the script below (which I found parts of elsewhere on this forum) to exclude the folder "ExcludeFolder".

It's not working! ANy help would be appreciated:

load <default>
filter "-.C:\Users\Blah\Documents\Curriculum\Courses\Exclud eFolder\"
load C:\Users\Blah\Documents "C:\Users\Blah\Google Drive\MyDocs"
expand all
select left.newer.files left.orphan.files
copy left->right
Reply With Quote
  #2  
Old 15-Aug-2012, 02:56 PM
Aaron Aaron is online now
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,446
Default

Hello,

The filter is likely not set to the right relative level. If your base folder is "c:\users\blah\documents" then the filter should start with:
"-.\Curriculum\Courses\Exclud eFolder\"

You can test this in the graphical interface first. Load your folders in the Folder Compare, then right click and Exclude your folder. The Filter box in the upper right corner will change from "*.*" to another filter, which you can copy/paste into your script.

If you want to copy left newer and orphan files, you could consider using the sync update:left->right.
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 16-Aug-2012, 11:49 AM
av8orct av8orct is offline
New User
 
Join Date: Aug 2012
Posts: 2
Default

Awesome! this worked as I wanted!

The suggestion to use the GUI was so helpufl!
I've been playing with the script in notepad and this will make it so much easier!

is there some way to "export" to a script if you work in the GUI?
Reply With Quote
  #4  
Old 16-Aug-2012, 12:38 PM
Chris Chris is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 3,793
Default

Sorry, it isn't possible to generate a script from the GUI.
__________________
Chris K Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:25 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.