[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: loading truecrypt from the command line



On 15/03/2013, Zenaan Harkness <zen@freedbms.net> wrote:
> I dug up my old command line script wrapper for truecrypt.
>
> Haven't used it for a few years, so YMMV.
>
> Here it is:
>
> #!/bin/sh
>
> DRV=/home/ME/truecrypt-source
> VOL=$DRV/data.tc
> MNT=/media/truecrypt1
>
> truecrypt $VOL $MNT
>
>
> Good luck,
> Zenaan
>

Zenaan.
Your script now looks like this ;-

#!/bin/sh
# Zenaan Harkness, March 2013

DRV=/usr/bin/truecrypt
VOL=/home/boztu/Documents/bucket
MNT=/media/truecrypt1

truecrypt $VOL $MNT

and is called from a bash_alias of  - alias tc='nohup truecrypt &' so
that when its loaded I can just CTRL+c to come out and still leave
truecrypt running.

Thanks, this is the most elegant solution so far, but there may be others. :)

Sharon.

-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy, LXDE 2 LibreOffice 3.5.4.2
Registered Linux user 334501


Reply to: