Backup and entire dir using tar?

Le grand pinguin rm at mh-freiburg.de
Fri Jan 21 12:09:40 UTC 2005


On Fri, Jan 21, 2005 at 12:11:39PM +0100, Martin Schmitz wrote:
> Le grand pinguin wrote:
> >  $ tar cvzf blub.tar.gz /etc 2>&1 | less
> 
> LOL. Very useful, indeed. ;-)

Not nearly as funny as you might think, outside of the 
small-sample-for-maling-list  world.
One application: don't pipe into less but save to a file
and diff that with a previous log - this is how i generate
error/change mails in my cron scripts. Comes really handy
when you want to see what changed since the last time
your backup did run ...

 RalfD

  
> Martin
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list