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