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-14-2009, 04:18 PM
caffenero caffenero is offline
Registered User
 
Join Date: May 2009
Posts: 8
Cannot exclude package

Hi,

I'm trying to tell super duper to exclude Adobe Lightroom previews data when doing full backups.

On OSX, they're stored under a single package directory and ALWAYS named as "XXXX Previews.lrdata"

Where XXXX is the name of the Lightroom catalog.

Anyway, a simple "exclude all packages called YYYY.lrdata" would do. I cannot make Super Duper ignore ' em.

This is what I tried:

1) Modify the backup all script, save as new custom script
2) Edit the commands section, tried all these lines (one at a time of course):

IGNORE *.lrdata
IGNORE */*.lrdata
IGNORE *.lrdata/

No way. The damn package gets copied every time...

Could you help me please?

Thanks,

Ale
Reply With Quote
  #2  
Old 05-14-2009, 05: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
Did you send this to me separately through the support email address, Ale? Because I replied to that message...

Anyway, what's likely here is that you haven't specified the folder where the data is. Where are the .lrdata packages? Are they in /Users/your-account/Pictures/Lightroom?
__________________
--Dave Nanian

Last edited by dnanian; 05-14-2009 at 05:33 PM. Reason: More detail added
Reply With Quote
  #3  
Old 05-14-2009, 05:44 PM
caffenero caffenero is offline
Registered User
 
Join Date: May 2009
Posts: 8
Quote:
Originally Posted by dnanian View Post
Did you send this to me separately through the support email address, Ale? Because I replied to that message...

Anyway, what's likely here is that you haven't specified the folder where the data is. Where are the .lrdata packages? Are they in /Users/your-account/Pictures/Lightroom?
Nope, this is the first message i'm writing to you... Anyway, as there can be multiple catalogs (so multiple XXXX Previews.lrdata packages) I'd like to be able to specify "exclude any package ending in .lrdata" anywhere, like I can do for regular files (e.g: exclude *.bak)

Is there a solution to this?

Thanks a lot!
Reply With Quote
  #4  
Old 05-14-2009, 05:54 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
You can't say "ignore *.bak" and have it apply "everywhere". It only applies in the folder you specify. So -- where are these .lrdata packages?
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 05-14-2009, 06:48 PM
caffenero caffenero is offline
Registered User
 
Join Date: May 2009
Posts: 8
Quote:
Originally Posted by dnanian View Post
You can't say "ignore *.bak" and have it apply "everywhere". It only applies in the folder you specify. So -- where are these .lrdata packages?
Oh. I see. Those packages are all under the various catalogs, which are dicrectories. I could put a catalog everywhere, but all my catalogs are inside a single directory... I made a screenshot so you can see:

http://img.skitch.com/20090514-mjtt7...ubphiq5fu9.png

incidentally, only one catalog has the .lrdata now as I cleared all the previews some time ago and only used the "main" catalog, but you get the point...

..so, you can't really say "exclude all .whatever files"? Huh. Anyway, anything will do, but please, don't tell me I have to exclude each single catalog previews by hand...
Reply With Quote
  #6  
Old 05-14-2009, 06:53 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
Right, so the ignore would be

Code:
Users/Ale/Documents/Lightroom/Main/*/*.lrdata
__________________
--Dave Nanian

Last edited by dnanian; 05-14-2009 at 06:54 PM. Reason: Fixed path - misread PNG
Reply With Quote
  #7  
Old 05-15-2009, 04:17 AM
caffenero caffenero is offline
Registered User
 
Join Date: May 2009
Posts: 8
OK, that worked --with a minor modification, the root folder is not "Main", "Main" is just another catalog, but thanks.

I really like your software. However, I do think one should be able to exclude files by extension. As an end user, I HATE being forced to edit copy scripts by hand and resort to something like:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Class</key>
	<string>Include</string>
	<key>Description</key>
	<string>Excludes Lightroom Previews.</string>
	<key>Directives</key>
	<array>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*/*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*/*/*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*/*/*/*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*/*/*/*/*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*/*/*/*/*/*.lrdata</string>
		</dict>
		<dict>
			<key>Directive</key>
			<string>exclude</string>
			<key>Item</key>
			<string>*/*/*/*/*/*/*/*.lrdata</string>
		</dict>
	</array>
	<key>Include Directives</key>
	<array/>
</dict>
</plist>
I had to do it by hand because the command panel and its filesystem browser are really impractical when you need to use wildcards.

Moreover, if I try to save this script as a separate "Exclude LR Previews" and then include this script in my main backup script, SD hangs indefinitely on the "Copy Files" phase, with all counters remaining on "0". If I just use the path you suggested, everything works.

OK, that's it. Sorry for the rant and congratulations for a great piece of software.
Reply With Quote
  #8  
Old 05-15-2009, 07:52 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
Hangs indefinitely? Not quite sure why that would be (although you wouldn't include this in your main script generally)...
__________________
--Dave Nanian
Reply With Quote
  #9  
Old 05-15-2009, 10:18 AM
caffenero caffenero is offline
Registered User
 
Join Date: May 2009
Posts: 8
Quote:
Originally Posted by dnanian View Post
Hangs indefinitely? Not quite sure why that would be (although you wouldn't include this in your main script generally)...
Here, I made a movie for you:

http://caffenero.net/ScreenFlow.mov



Anyway, I just bought your app. I admit I was using a pirated serial before just to see if this custom script thing really worked
Reply With Quote
  #10  
Old 05-15-2009, 10:38 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
OK. It's not so much that it's hanging forever. It's that your particular glob expression is expanding to nearly every file in every folder everywhere on your drive. Doing that is going to take a long time.

If you did the same thing with

/Users/Ali/Documents/Lightroom/*.lrdata
/Users/Ali/Documents/Lightroom/*/*.lrdata

(etc) it would work properly.

Note, too -- don't copy Backup - all files and add your stuff to it. Instead, *include* it and then add your commands to the command tab (or include it and your exclude script). That way, if we improve/change "Backup - all files" in the future (something we've certainly done in the past) you will benefit from those changes.
__________________
--Dave Nanian
Reply With Quote
  #11  
Old 05-15-2009, 10:44 AM
caffenero caffenero is offline
Registered User
 
Join Date: May 2009
Posts: 8
Quote:
Originally Posted by dnanian View Post
OK. It's not so much that it's hanging forever. It's that your particular glob expression is expanding to nearly every file in every folder everywhere on your drive. Doing that is going to take a long time.

If you did the same thing with

/Users/Ali/Documents/Lightroom/*.lrdata
/Users/Ali/Documents/Lightroom/*/*.lrdata

(etc) it would work properly.

Note, too -- don't copy Backup - all files and add your stuff to it. Instead, *include* it and then add your commands to the command tab (or include it and your exclude script). That way, if we improve/change "Backup - all files" in the future (something we've certainly done in the past) you will benefit from those changes.
OK, will do. Thanks for the tip -- and I still think you should add simple exclusion by extension

You sir are the definition of customer care Good luck from a fellow programmer and enthusiast SD user!
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
Exclude folders based on their names SanderP General 6 01-21-2009 10:51 AM
iPhoto 7 library is a package timlance General 2 10-07-2007 08:44 PM
Exclude destination folder, during Smart Update? jrg General 2 03-30-2007 02:50 AM
Ignore a Package? rbraley General 3 12-17-2005 10:30 AM
Possible to exclude files? trassalg General 7 06-12-2005 12:46 PM


All times are GMT -4. The time now is 02:16 AM.


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