Terminal Tip: Interactive Command-line File Encryption
In OS X, you can always toss a file onto the command line instead of laboriously typing out a complete path name because Terminal supports drag and drop. Over at Murphymac, Murphy has posted a video showing you how to create a shell script using DES3 encryption to protect your files. It takes advantage of this drag and drop support so you can basically run the script and drop the file you want to encrypt. Even if you're not all that interested in encrypting your files, this videocast shows how to think about creating shell scripts with a particularly interactive OS X flare flair.
Share
Categories
In OS X, you can always toss a file onto the command line instead of laboriously typing out a complete path name because Terminal supports...
Add a Comment
Because of this - I took it upon myself to create a dashboard widget to perform this very task - you can check it out at http://www.millshalligan.co.uk/software/fileencryption/index.shtml
May 28 2007 at 9:01 AM Report abuse Permalink rate up rate down ReplyAn "interactive OS X flare" would probably set your keyboard on fire. Or maybe you just have a flair for amusing use of English.
May 23 2007 at 1:49 PM Report abuse Permalink rate up rate down ReplyI love terminal tips too. But for stuff like this, I use Yojimbo and it's built-in encryption. Then, Yojimbo syncs w/ .Mac so I can pull it down on my laptop. Very handy.
May 23 2007 at 9:07 AM Report abuse Permalink rate up rate down ReplyPlease _don't_ mellow out on the terminal posts, they are a great source of information for people new to mac/unix. If some peeps don't want to read them, it only takes a miniscule amount of energy for them to flick their eyes to the next article and get on with their lives!
May 22 2007 at 8:24 PM Report abuse Permalink rate up rate down ReplyActually, encrypted disk images are BAD, VERY BAD. To successfully decrypt something, every single encrypted bit of the disk image must be there and intact. If so much as a single-bit error were to occur anywhere within the encrypted disk image file, that would render the ENTIRE disk image undecryptable and worthless. Whereas, if you encrypt individual files, the worst that can happen is just one *file* is worthless (and if you make backups like you should, that wouldn't be so much of a problem).
Great video, thanks!
May 22 2007 at 7:02 PM Report abuse Permalink rate up rate down ReplyThat was great- more from the point of view of learning about shell scripts than anything else. A password-protected disk image is an easy encryption alternative for anyone a bit scared of the terminal...
I bet someone could make a snappy little drap-and-drop applescript for this process
I always have a tiny little Terminal window on my desktop - just for stuff like this.
This is great. Thanks so much!
May 22 2007 at 6:03 PM Report abuse Permalink rate up rate down ReplyThat was actually pretty informative. The easily accessible terminal is one of the great features of OSX.
May 22 2007 at 5:24 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Altec Lansing Octiv Duo iDock for $48 + free shipping
- Used Apple iMac 17" Core Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



11 Comments