|
#1
|
|||
|
|||
Shell Scripts -Questions
Ok, well Its not that I haven't tried to find the answers but here we go.
What extension is used for Shell scripts, as in the ones SuperDuper can use? (in that "other" OS, I used to write simple .bat files) How does one test scripts from the "file" format. Is there a 101, for dummies, Introduction for complete Windoze morons for said scripts? ;o) Applescript is completely different right!?! I am trying to setup something similar to: http://www.leancrew.com/all-this/200...duper-scripts/ Gorisan |
#2
|
|||||
|
|||||
Quote:
Quote:
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:
Quote:
Quote:
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 |
#3
|
|||
|
|||
Quote:
Myself, I will not need to use such a script. However for my wifes machine I will be running such a setup as to be as automatic as possible. Sort of set it and forget it type thing. If I have the Firewire Drives mounted all the time then the units will power up and down at the will of the Energy Saving Utility, Im hoping to bypass such cycles by having the Drive (partitions) unmounted. Therefore only power up just before a backup occurs, then unmount (power down) after-words. (Hoping this is in the realm of there are no dumb questions) again thanks for information provided. At this point I am still tinkering to get what I need/want in the way of a backup scheme. I must say I do like SuperDuper so far Last edited by Gorisan; 08-02-2008 at 12:15 AM. Reason: spelling |
#4
|
||||
|
||||
One small thing to note: SuperDuper! does this completely automatically with scheduled backups. If the drive isn't mounted we mount it, copy and unmount...
__________________
--Dave Nanian |
#5
|
|||
|
|||
...weird I could have sworn I posted a reply already.
Anyhow Indeed SuperDuper does do that however I have tried again and I notice it does not seem to work for backing up in sparse image mode. at least for me |
#6
|
|||
|
|||
Ok, Figured it out.
You can run a backup, then create a disk image of said backup. Running in a schedule mode, I can mount/unmount seamlessly. Not exactly what I was trying to do in the first place, but its more than good enough. Thank you all for your patience I will now go enjoy SuperDuper. Great Software! Gorisan |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |