cool backup/encrypt script
cool backup/encrypt script
- Subject: cool backup/encrypt script
- From: Darcy Baston <email@hidden>
- Date: Sat, 7 May 2005 15:29:32 -0500
I couldn't wait for Tiger. I wanted to make a backup/encrypt solution
and it was the first thing I did. Works great and I thought I'd share:
1-Ask for Finder Items (allow multiple selection)
2-Create Archive (save as whatever.zip, it lets you type something
different anyway)
3-Run shell Script (use input as arguments) :
#!/bin/sh
/usr/bin/openssl enc -e -aes-256-cbc -in "$1" -out "$1.aes" -pass
pass:a_password
It works great, except when you try to save the .zip archive to the
desktop. Automator chops off the .zip extension and then the script
gets the wrong file name. You can save to anywhere else on your hard
drive, even a path on your iPod (what I do and why I made this), but
never the desktop or it breaks.
I also tried adding a delete step at the end to get rid of the zip,
but it kept giving errors about an item in the trash already in use
or something.
Enjoy!
Darcy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden