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, 06: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, 06:50 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
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, 05: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, 02:50 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
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, 06: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, 06:31 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
With those folders, in Terminal, what does:

ls *dont_backup_me*

match?
__________________
--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 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


All times are GMT -4. The time now is 06:38 AM.


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