[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-nano] Can nano do auto backup with a unique file to a specified di
From: |
Jim C. |
Subject: |
[Help-nano] Can nano do auto backup with a unique file to a specified dir? |
Date: |
Thu, 24 Mar 2005 08:45:30 -0800 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I can set up vi to create a backup file every time it writes a
pre-existing file. I can subsequently have it execute a series of BASH
commands immediately after it does a file write. What I have it doing
right now is saving a backup file and then moving that file to a unique
name in my trash directory.
Objective: I want a setup for nano that will do the same thing. My
reasoning is that I always want to know where to look for that last
known good copy of the important config file I was writing. Note that
the size of my trash directory and the aging of files in it are managed
via a cron script, so no worries about loading it with to much junk.
Can nano do the same thing? I want to put this info in a "how to
protect yourself from yourself" HOWTO.
Jim C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCQu6q57L0B7uXm9oRAo2lAJwOJDajq1bNidTzyKSLkmz+xrNQjQCeMd15
XR09Wrsj4P/v1h73TjuB37o=
=b/cA
-----END PGP SIGNATURE-----
- [Help-nano] Can nano do auto backup with a unique file to a specified dir?,
Jim C. <=