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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-01-2008, 06:15 PM
jtk jtk is offline
Registered User
 
Join Date: Jul 2008
Posts: 12
Quote:
Originally Posted by Gorisan View Post
What extension is used for Shell scripts, as in the ones SuperDuper can use?
There is no specific extension for shell scripts, so none is required. However, ".sh" is pretty common and will be recognized.

Quote:
How does one test scripts from the "file" format.
Not quite sure what you mean by "scripts from the 'file' format," but if you're talking about shell scripts, open the Terminal app (located in Applications->Utilities), make sure the script you want to test is executable (use chmod u+x my-script-name), then execute it from the command line (./my-script-name, assuming it's in your current working directory).

If you're talking about the .dset files, then they're XML files, so they can't be executed directly. Perhaps others can help you determine better how to test them.

Quote:
Is there a 101, for dummies, Introduction for complete Windoze morons for said scripts? ;o)
Yes, many. Any Linux site will most likely have tutorials on shell scripting. Google is your friend. By default, current versions of Mac OS X use the Bourne-Again Shell (bash), so that would be a good place to start. An information-dense but less user-friendly source is the man page (type man bash or man sh in the Terminal app).

Quote:
Applescript is completely different right!?!
Yes, absolutely correct.

Quote:
I am trying to setup something similar to [...]
Hmm... May I ask why? Are you trying to set up unattended backups? If so, there is a way to tell the system not to unmount volumes when you log out.

Otherwise, the examples on the page you linked to are pretty straight-forward. You'll just need to copy the text (without the line numbers) of the final version into a file and change the "Backup" (in the awk command -- and be sure to note the two points at the end of that page) to reflect whatever you've named your target volume, then make it executable and test it. It might be a good idea, however, to log the errors instead of pitching them into /dev/null, at least until it's debugged.
__________________
jtk

Last edited by jtk; 08-01-2008 at 06:28 PM. Reason: Added search link
Reply With Quote
 


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
How do I create a shell script to log out? ben428 General 5 06-14-2008 08:35 AM
Scripts and error detection edoates General 1 06-10-2006 06:10 PM
Best Itunes Library Backup Settings, Scripts? greenjeens General 5 05-21-2006 03:28 PM
Run Shell Scripts cucciasv General 1 02-26-2006 09:31 PM
Questions about "exclude system cache/temporary files" Copy Scripts Darkside General 1 05-12-2005 09:48 AM


All times are GMT -4. The time now is 05:20 PM.


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