[DC LoCo] Tar of a "dot" directory
Kevin Cole
dc.loco at gmail.com
Thu Mar 25 23:05:02 GMT 2010
On Thu, Mar 25, 2010 at 18:43, Marti Martinson
<arthur.martinson at verizon.net> wrote:
> Unless I am getting this wrong, all my Evolution email app personal
> files reside in a "dot" directory in MY home directory.
>
> If I did the following:
>
> tar cvfp mail.tar .evolution/*
>
> .....would ALL of the stuff beneath recursively save to the mail.tar tar
> file so I could restore it later AND have Ecolution work?
First, you want the f to be after the p. f should be followed by the filename.
Second, I like compression. So I usually throw the j in there for
bzip2 compression (or less agressive, z for gzip.)
And finally, I'd leave the /* off. That way, wherever you unpack it,
it will create a .evolution directory if one does not already exist.
tar cjvpf mail.tar.bz2 .evolution
--
Ubuntu Linux DC LoCo
Washington, DC
http://dc.ubuntu-us.org/
More information about the Ubuntu-us-dc
mailing list