Backup to encrypted 7zip file
Michael DeBusk
mdebusk at gmail.com
Sun Sep 14 18:57:00 EDT 2014
On Sat, Sep 13, 2014 at 10:22 PM, Chris Good <chris.good at ozemail.com.au> wrote:
> Here's a batch file I hope some Windows users may find useful.
As I already compress my data file, I just encrypt it with GNU Privacy
Guard, thusly:
gpg -c michael.gnucash
The -c option causes gpg to prompt for a password, and the file is
saved with a ".gpg" extension.
I do like the idea of putting all of this in a script, though.
One more thing. This surely doesn't matter anymore with today's
processor speeds, but back in the olden days, I learned that I could
speed up my batch files a little bit by replacing "REM" with "::" (two
colons.) I don't recall what the difference was -- something about the
OS not caring what a label's name was unless it was called, I think --
but it always seemed a little smoother to me, and the code was a bit
easier to read.
--
/\ www.asciiribbon.org * against proprietary attachments
Home: http://nlphilia.com * Blog: http://nlphilia.net
Registered Linux User #450983 * Ubuntu Counter Project #10548
More information about the gnucash-user
mailing list