Re: GNUtar doesn't fit my needs...

From: Jean-Luc BEAUDET (beaudet_at_cyber.kodak.com)
Date: 11/19/03


Date: Wed, 19 Nov 2003 16:45:13 +0100

LOL !

subdir{n} was just an example; i am meaning any different name with no
relation each other...

Thx :-)

Sayantan Sur wrote:

>
>
> Jean-Luc BEAUDET wrote:
>
>> Hi all,
>>
>> Assuming the following
>>
>> /my/main/dir/subdir1
>> ............/subdir2
>> ............/subdir3
>> ............/subdir4
>>
>> I'd like to GNUtar /my/main/dir with all subdirs BUT subdir1
>>
>> I tried
>> # tar -c -v -z -P -f /tmp/backup.tgz -X /tmp/exclude.tar /my/main/dir
>
>
> tar -czvPf /tmp/backup.tgz /my/main/dir/subdir[2-4]
>
>
>