Without dumping to perl or another external language, would like to accomplish
prior to making changes in a file, backup incrementially the current file to
create a record of changes ans versions. For example.
we are about to make changes to file.conf and would like to make a copy of our
current file before doing so *without* overwriting previous backup copies
#cp /path/to/file.conf /path/to/file.conf.20030210
I almost want to say this could be done with something simple like
#cp /path/to/file.conf /path/to/file.conf.$DATE
which would be the solution if I was using perl, php, or soething else to
accomplish the copy of files, but would prefer a simple one liner without having
to load another processor just for this one command.
Suggestions would be appreciated.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message