Re: GNUtar doesn't fit my needs...
From: Michael Wang (mwang_at_unixlabplus.com)
Date: 11/21/03
- Previous message: Todd H.: "Re: Security tool to check CGI scripts for security holes/vulnerabities"
- In reply to: Jean-Luc BEAUDET: "GNUtar doesn't fit my needs..."
- Next in thread: Michael Zawrotny: "Re: GNUtar doesn't fit my needs..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Nov 2003 00:44:46 +0000
In article <3FBB4A10.9080200@cyber.kodak.com>,
Jean-Luc BEAUDET <beaudet@cyber.kodak.com> wrote:
>Hi all,
>
>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
Jean-Luc,
Can you use "find" to list "/my/main/dir with all subdirs BUT subdir1"?
Yes? good. Then you can pipe the list to tar:
find ... | tar ... --files-from=-
Hope this helps.
-- Michael Wang * http://www.unixlabplus.com/ * mwang@unixlabplus.com
- Previous message: Todd H.: "Re: Security tool to check CGI scripts for security holes/vulnerabities"
- In reply to: Jean-Luc BEAUDET: "GNUtar doesn't fit my needs..."
- Next in thread: Michael Zawrotny: "Re: GNUtar doesn't fit my needs..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|