#1
|
|||
|
|||
Ignoring dirs containing string
Hi,
I tried to edit the Backup - all files.dset to ignore directories that have the string "dont_backup_me" appended to their name. (eg. "/Users/me/Music/TempMusic_dont_backup_me" or "/Store_dont_backup_me"). I edited the Copy script and added an "ignore" command under the "Script Commands" tab. Item Specification is "*dont_backup_me*". I also made sure that this is the first line in the "Script Commands" tab. Superduper! didn't ignore those dirs and bloated the backup image. Did I missed something? The backup image is located on an encrypted samba share - but I think that this is not related to my problem. Thanks much Stefan |
#2
|
||||
|
||||
Hm. We use standard Unix globbing to expand the regular expression, and that should, indeed, work...
__________________
--Dave Nanian |
#3
|
|||
|
|||
Should I file an bug report then?
|
#4
|
||||
|
||||
I verified that it worked at this end, Nicolinux. I'd need to try to reproduce your exact problem, so you can feel free to send me your script and I'll take a look.
__________________
--Dave Nanian |
#5
|
|||
|
|||
I tried it again too. It doesent work for me
I created a disk image with the following contents: Code:
ABCDE FGHIJ KLMNO PQRST UVWXYZ XXXY_dont_backup_me dont_backup_me mit_unter sldkjfalsdjf_dont_backup_me_llflflf tttt_dont_backup_me Therefore I created a custom copy script, included the "Backup - all files.dset" and added an entry "ignore - *dont_backup_me*" This should take care of it, but it doesent. The destination diskimage after the backup contains every single directory with it's contents. Here is my custom script: Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Class</key> <string>Composite</string> <key>Description</key> <string>Test</string> <key>Directives</key> <array> <dict> <key>Directive</key> <string>exclude</string> <key>Item</key> <string>*dont_backup_me*</string> </dict> </array> <key>Include Directives</key> <array> <string>Backup - all files.dset</string> </array> </dict> </plist> Stefan |
#6
|
||||
|
||||
With those folders, in Terminal, what does:
ls *dont_backup_me* match?
__________________
--Dave Nanian |
#7
|
|||
|
|||
The following:
Code:
XXXY_dont_backup_me: Picture 3.png dont_backup_me: Picture 4.png sldkjfalsdjf_dont_backup_me_llflflf: Picture 1.png Picture 5.png tttt_dont_backup_me: Picture 2.png Thanks, Stefan |
#8
|
||||
|
||||
I've tested this again here. I used a source image with the following folders at the top:
Code:
backup_me dont_backup_me please_dont_backup_me I did a Smart Update. When I was done, only "backup_me" was present on the destination. It seems to be working fine...
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failed to set as StartUp Disk Why? | jreffner | General | 1 | 01-17-2007 10:37 AM |
SuperDuper Failing on Backup - I/O Errors | Stephen Kuhn | General | 1 | 08-13-2006 04:03 PM |
backup (all files) error | smtorr | General | 3 | 02-09-2006 08:10 AM |
Permissions error | 2stepbay | General | 3 | 11-18-2005 04:21 PM |
Laptop freezes buring backup | kaalm | General | 5 | 05-12-2005 04:15 PM |