Dale a écrit :
Neil Bothwick wrote:
On Thu, 30 Apr 2009 19:33:03 -0500, Dale wrote:
Now that worked. Where are we told about that dot? I still don't see
it on the man page. It has examples in there but no dot on the end.
Tar needs to be given files or directories to include, you didn't and
that's why it refused to make an empty archive. Since -C chnges to the
directory you want to backup, you use . to tell it to backup the (now)
current directory.
Would using a wild card work? Like this; /mnt/gentoo/* Just curious.
No a wildcard will not work as it will be expanded by your shell as
/mnt/gentoo/boot, /mnt/gentoo/etc, ..., which will get you the same
behaviour you said was the one you don't want ;)
And to think that I thought a period was only needed for the end of a
sentence. Learn something new every day I guess.
Dale
:-) :-)
--
Xavier Parizet
YaGB : http://gentooist.com
GPG : DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408