Professional Web Applications Themes

tar error on mac os x 10.2.6 - Mac Applications & Software

tar -xvfz bie-unix-5.5.1.tar.gz tar: Failed open to read on z <No such file or directory> but, tar xvfz bie-unix-5.5.1.tar.gz and tar -xvzf bie-unix-5.5.1.tar.gz work does anyone know what accounts for the last two formats working? -- mark andrew nassy, <URI:mailto:com>...

  1. #1

    Default tar error on mac os x 10.2.6

    tar -xvfz bie-unix-5.5.1.tar.gz
    tar: Failed open to read on z <No such file or directory>

    but,

    tar xvfz bie-unix-5.5.1.tar.gz and tar -xvzf bie-unix-5.5.1.tar.gz work

    does anyone know what accounts for the last two formats working?

    --
    mark andrew nassy, <URI:mailto:com>
    mark Guest

  2. #2

    Default Re: tar error on mac os x 10.2.6

    In article
    <rdc-nyc.rr.com>,
    mark andrew nassy <com> wrote:
     

    I'm not sure but I think the first one worked because the flags were not
    introduced by a "-" and the entire group was pd as flag characters.
    The use of the "-" in the failed example and the second one that worked
    caused whatever followed the "f" to be interpreted as the archive name:
    "z" in the failed case and "bie-unix-5.5.1.tar.gz" in the second case.

    I never use the "-" with tar.

    --
    Tom Stiller

    PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
    7BDA 71ED 6496 99C0 C7CF
    Tom Guest

  3. #3

    Default Re: tar error on mac os x 10.2.6

    In article
    <rdc-nyc.rr.com>,
    mark andrew nassy <com> wrote:
     

    In the first command, you told it open an archive file named 'z', and
    extract from it a single file named "bie-unix-5.5.1.tar.gz".

    The 'f' option must be immediately followed by the name of the archive
    file. You followed it with 'z', so it looked for a file named 'z', as
    the error message tried to tell you.

    I'm not sure why the second version works; I guess omitting the '-'
    causes tar to process the argments differently, so that it recognizes
    'z' as a flag instead of a filename.
    Wayne Guest

  4. #4

    Default Re: tar error on mac os x 10.2.6

    In comp.sys.mac.system mark andrew nassy <com> wrote: 
     
     
     

    You're using different standards of the tar utility. the one with
    the hyphen before the options is more literal in that the text following
    "f" is taken to be the name of the archive file that you are creating.

    Don't use the hyphen before tar options.

    stan@temple.edu Guest

Similar Threads

  1. Error Message "A drawing error ocurrred which is probably due to an out-of-memory condition. Try qu
    By wendy_matarazzo@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 2
    Last Post: May 11th, 06:12 PM
  2. Replies: 0
    Last Post: March 29th, 09:49 PM
  3. Replies: 0
    Last Post: November 10th, 05:24 PM
  4. Postscript Print error (ERROR: rangecheck; OFFENDING COMMAND: filter)
    By Darrell_J_Brown@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 1
    Last Post: May 13th, 11:24 AM
  5. Replies: 1
    Last Post: August 7th, 07:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139