Re: cool backup/encrypt script
Re: cool backup/encrypt script
- Subject: Re: cool backup/encrypt script
- From: Joshua Levitsky <email@hidden>
- Date: Sat, 7 May 2005 17:04:17 -0400
On May 7, 2005, at 4:29 PM, Darcy Baston wrote:
#!/bin/sh
/usr/bin/openssl enc -e -aes-256-cbc -in "$1" -out "$1.aes" -pass
pass:a_password
I was reading "man enc" and it said "-salt" should be used so you
might want to add that... unless there was a reason you didn't.
On a related note... because I was going to try to do something like
this with Automator... in a script how would you easily trim off
".aes" when decrypting?
So I pass $1 and $1 = secretfile.zip.aes and I want to turn that in
to secretfile.zip as the output. I think this is going outside the
bounds of an Automator question because it's more a shell question...
unless if someone could say the proper way to do it via automator
without using a shell component in the automator applet. ... I'm
curious about both ways really so I can compare both...
-Josh
_______________________________________________
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