GNUtar doesn't fit my needs...

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

  • Next message: Jean-Pierre Denis: "Re: How can I measure the network load ?"
    Date: Wed, 19 Nov 2003 11:46:40 +0100
    
    

    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

    I tried
    # tar -c -v -z -P -f /tmp/backup.tgz -X /tmp/exclude.tar /my/main/dir

    -P to keep leading "/"
    -X pointing to the file containing the files to exclude
    # cat /tmp/exclude.tar
    /my/main/dir/subdir1/*
    #

    The command achieve with no errors, but subdir1 and all included in keep
    on archiving !!!

    I tried modifying the content of /tmp/exclude.tar as
    my/main/dir/* - that is no leading / -
    BUT the result is the same.

    Any help welcome.

    JLB :-)

                  


  • Next message: Jean-Pierre Denis: "Re: How can I measure the network load ?"

    Relevant Pages

    • GNUtar doesnt fit my needs...
      ... Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... The command achieve with no errors, but subdir1 and all included in keep ... I tried modifying the content of /tmp/exclude.tar as ...
      (comp.unix.shell)
    • GNUtar doesnt fit my needs...
      ... Working under SOLARIS 5.6 i'm trying to GNUtar the content of a whole ... The command achieve with no errors, but subdir1 and all included in keep ... I tried modifying the content of /tmp/exclude.tar as ...
      (comp.unix.admin)

  • Quantcast