date of 7 days ago

Dan Lund situationalawareness at gmail.com
Fri Dec 30 11:11:12 MST 2005


Okay, I'm going to answer my own question it seems.

date --date='7 days ago'

On 12/30/05, Dan Lund <situationalawareness at gmail.com> wrote:
> Quick question, been thinking about this all day today.
> Whats a nice quick way to find out what the date was 7 days ago?
> (one that takes into account that today could be the 3rd of January,
> or April 2nd, or...)
> I'm looking for a way to find the date 7 days ago so I can create a
> hard-link to a directory to enable our backup software to backup my
> sunday backups to tape by looking at a static link that changes every
> sunday by the OS.
> It's brain dead and doesn't want to do anything more than archive-bit
> style backups....
>
> --Dan
> --
> To exercise power costs effort and demands courage. That is why so
> many fail to assert rights to which they are perfectly entitled -
> because a right is a kind of power but they are too lazy or too
> cowardly to exercise it.  The virtues which cloak these faults are
> called patience and forbearance.
> Friedrich Nietzsche
>


--
To exercise power costs effort and demands courage. That is why so
many fail to assert rights to which they are perfectly entitled -
because a right is a kind of power but they are too lazy or too
cowardly to exercise it.  The virtues which cloak these faults are
called patience and forbearance.
Friedrich Nietzsche


More information about the PLUG-discuss mailing list