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

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-19-2015, 02:58 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
My own include scripts

Is there a way to include my own copy scripts inside of a higher level backup script? I can see that SD allows me to do that, but when I go to run the higher level backup script it complains that the included script can't be found inside the SD.app/Contents/...

I don't want to have to modify the contents of the SD app because I don't want to lose my customizations when I upgrade SD in the future.

so where can I place my own copy scripts which can then be included in other higher level copy scripts? I wish to have several different high level backup scripts that share a common list of excluded files, basically.
Reply With Quote
  #2  
Old 10-19-2015, 03:11 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
I think I might have figured it out, by editing the .dset XML code directly I can put the full path name to

Code:
Library/Application Support/Super Duper!/Copy Scripts/myincludescript.dset
which seems to be working. Is there no way to do this in the GUI, only through editing the xml file? When I load the copy script in the GUI it does display the entire path name correctly. seems like if I choose an include script to use with a full path, SD ought to just remember that.
Reply With Quote
  #3  
Old 10-19-2015, 03:22 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
So...the include tab is forcing the path to the standard scripts folder, even though you add it from Copy Scripts (the parent folder)?
__________________
--Dave Nanian
Reply With Quote
  #4  
Old 10-19-2015, 03:56 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
In the GUI when I open a copy script and then go to the include tab and then hit the + button, it opens up the file dialog to

Code:
~/Library/Application Support/SuperDuper!/Copy Scripts/
I then choose a script and it accepts it, and I see it listed in the list of includes. However when I run the backup I get the following error:

Code:
| 01:44:52 PM | Error | SDCopy: Unable to locate included copy script: xyzExcludeAlways.dset in /Applications/SuperDuper!.app/Contents/Resources
| 01:44:52 PM | Error | : No such file or directory
So then I tried to manually edit the dset file so that I can specify more of a full path name. I see that what is there when I configured via the GUI is not the full explicit path name, just the base name, I guess its assuming to find it in Standard Scripts.

So I tried to set it like this with full explicit path name in the dset file directly:
Code:
	<key>Include Directives</key>
	<array>
		<string>Backup - all files.dset</string>
		<string>/Users/xyz/Library/Application Support/SuperDuper!/Copy Scripts/xyzExcludeLists/xyzExcludeAlways.dset</string>
	</array>
The above appears to work. When I go back to the GUI to view the copy script, it does display the whole explicit path name exactly as contained in the XML.

Last edited by Dewdman42; 10-19-2015 at 03:58 PM.
Reply With Quote
  #5  
Old 10-19-2015, 04:00 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
Interesting. Clearly a bug, I'm sure there since day 1 - I'll get it logged. Thanks.
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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
Sharing Scripts accross Multiple Drives glen General 2 06-29-2011 06:07 PM
Removing my SuperD scripts ? Walter General 2 06-28-2010 09:08 AM
Recreating scripts moite General 3 11-03-2009 09:07 AM
How to get scripts to run in proper order? JoBoy General 6 10-18-2008 12:56 PM
Shell Scripts -Questions Gorisan General 5 08-03-2008 12:59 AM


All times are GMT -4. The time now is 09:28 AM.


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