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

From: Michael Wang (mwang_at_unixlabplus.com)
Date: 11/21/03

  • Next message: DC: "Slightly OT: Exceed 8.0 problems on win 2003 serevr running Terminal Services"
    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
    

  • Next message: DC: "Slightly OT: Exceed 8.0 problems on win 2003 serevr running Terminal Services"

    Relevant Pages

    • Re: GNUtar doesnt fit my needs...
      ... Jean-Luc BEAUDET wrote: ... > Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... > dir BUT one subdir. ...
      (comp.unix.admin)
    • Re: GNUtar doesnt fit my needs...
      ... Jean-Luc BEAUDET wrote: ... > Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... > dir BUT one subdir. ...
      (comp.unix.misc)
    • Re: GNUtar doesnt fit my needs...
      ... Jean-Luc BEAUDET wrote: ... > Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... > dir BUT one subdir. ...
      (comp.unix.shell)
    • Re: GNUtar doesnt fit my needs...
      ... Jean-Luc BEAUDET wrote: ... >Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... >dir BUT one subdir. ...
      (comp.unix.shell)
    • Re: GNUtar doesnt fit my needs...
      ... Jean-Luc BEAUDET wrote: ... >Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... >dir BUT one subdir. ...
      (comp.unix.admin)