Re: GNUtar doesn't fit my needs...
From: Michael Zawrotny (zawrotny_at_jaguar.sb.fsu.edu)
Date: 11/21/03
- Previous message: DC: "Slightly OT: Exceed 8.0 problems on win 2003 server running Terminal services."
- In reply to: Jean-Luc BEAUDET: "GNUtar doesn't fit my needs..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Nov 2003 13:24:11 GMT
Jean-Luc BEAUDET <beaudet@cyber.kodak.com> wrote:
> Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole
> dir BUT one subdir.
>
> 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
Did you try
tar -c -v -z -P -f /tmp/backup.tgz --exclude=/my/main/dir/subdir1 \
/my/main/dir
It works for me.
Mike
-- Michael Zawrotny Institute of Molecular Biophysics Florida State University | email: zawrotny@sb.fsu.edu Tallahassee, FL 32306-4380 | phone: (850) 644-0069
- Previous message: DC: "Slightly OT: Exceed 8.0 problems on win 2003 server running Terminal services."
- In reply to: Jean-Luc BEAUDET: "GNUtar doesn't fit my needs..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|