• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cool backup/encrypt script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >cool backup/encrypt script (From: Darcy Baston <email@hidden>)

  • Prev by Date: cool backup/encrypt script
  • Next by Date: Re: Shell and Perl scripts
  • Previous by thread: cool backup/encrypt script
  • Next by thread: Watermark ?
  • Index(es):
    • Date
    • Thread