Re: back up /var/log before shutdown

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



On Wed, Jun 20, 2012 at 7:34 AM, Arno Gaboury <arnaud.gaboury@xxxxxxxxx> wrote:
> tar -zcf  "./`date +'%d-%b-%y.tgz'`" /var/log

This date format will have you cursing yourself if you shut down more
than once in the same day.

--Andrew Hills


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux