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 05-12-2007, 07:42 PM
Nicolinux Nicolinux is offline
Registered User
 
Join Date: May 2007
Posts: 6
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
Reply With Quote
  #2  
Old 05-12-2007, 07:50 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
Hm. We use standard Unix globbing to expand the regular expression, and that should, indeed, work...
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 06-13-2007, 06:54 PM
Nicolinux Nicolinux is offline
Registered User
 
Join Date: May 2007
Posts: 6
Should I file an bug report then?
Reply With Quote
  #4  
Old 06-14-2007, 03:50 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
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
Reply With Quote
  #5  
Old 06-26-2007, 07:24 PM
Nicolinux Nicolinux is offline
Registered User
 
Join Date: May 2007
Posts: 6
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
These are just some random directories. I'd like to ignore those that contain "dont_backup_me" in their name.
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>
Thanks much.

Stefan
Reply With Quote
  #6  
Old 06-26-2007, 07:31 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
With those folders, in Terminal, what does:

ls *dont_backup_me*

match?
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 07-10-2007, 11:39 PM
Nicolinux Nicolinux is offline
Registered User
 
Join Date: May 2007
Posts: 6
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
Hm, this is pretty annoying. I thought that shell globing and wildcards are pretty basic stuff to take care by the developers. I wonder why such a high prized backup tool fails here. Unless it's my fault or something with the filesystem is wrong I think it's really time to file a proper bug report.

Thanks, Stefan
Reply With Quote
  #8  
Old 07-11-2007, 08:37 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
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
My copy script included "Backup - all files", and then ignored "*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
Reply With Quote
Reply


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
Failed to set as StartUp Disk Why? jreffner General 1 01-17-2007 11:37 AM
SuperDuper Failing on Backup - I/O Errors Stephen Kuhn General 1 08-13-2006 05:03 PM
backup (all files) error smtorr General 3 02-09-2006 09:10 AM
Permissions error 2stepbay General 3 11-18-2005 05:21 PM
Laptop freezes buring backup kaalm General 5 05-12-2005 05:15 PM


All times are GMT -4. The time now is 01:15 AM.


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