Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-20-2009, 09:58 PM
mike mike is offline
Registered User
 
Join Date: Mar 2009
Posts: 3
Excluding files by pattern

When I am backing up, I would like to exclude files and folders that match certain patterns:

.DS_Store
*~
*.bak
*.tmp
build (a folder name)
etc.
The script command Item Specification seems to require an absolute path from the root, though. Is there a way to specify a file pattern that will be matched wherever it occurs?

If not, could that feature be added? It would be very useful.
Reply With Quote
  #2  
Old 03-20-2009, 11:29 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,339
Send a message via AIM to dnanian
No. Of course, you can use wildcards at any given folder level -- e.g.

*/*/*/*.bak
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 03-21-2009, 01:18 AM
mike mike is offline
Registered User
 
Join Date: Mar 2009
Posts: 3
Order of precedence

Ah... So if I create a rule file called "exclude backup files" that rejects

ignore *.bak
ignore */*.bak
...
ignore */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.bak
and include it in a new copy script, then in that script I say to

copy Projects
Will the file Projects/MyProject/MyFile.txt.bak be included or excluded?
Reply With Quote
  #4  
Old 03-21-2009, 07:22 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,339
Send a message via AIM to dnanian
It should be ignored.
__________________
--Dave Nanian
Reply With Quote
Reply

Tags
exclude, pattern


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup user files suppress system files from a clone freestef General 2 02-25-2009 03:59 PM
Backup - all files switches to Backup - user files Anne West General 2 11-23-2008 11:12 AM
SD stalls at Copy Files Paul Clark General 8 08-16-2008 12:34 PM
Apple recommends excluding files JAC II General 6 07-31-2008 08:11 PM
SuperDuper! Erasing Audio Files? Emerson General 3 06-22-2005 02:41 PM


All times are GMT -4. The time now is 07:33 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.