Thursday, May 17, 2012

tar not found in archive

Previous Post : Install  PostGres on Linux

you may receive the error tar: <filename> : not found in archive when you execute the below command as per the syntax
you are in dirA in a path \usr\dirA\dirB
when you are trying to extract the files in dirA to dirB by using the command
tar xvf myfile.tar \dirB
you will receive an error not found in archive.
just mention -C . this is for change directory which is mentioned in the documentation.
tar xvf myfile.tar -C \dirB

6 comments:

  1. Really helpful....... Thanks a lot...!!

    ReplyDelete
  2. Thank you for this. It helped a lot.

    ReplyDelete
  3. Thanks a lot! :b

    ReplyDelete
  4. Great tip, thanks a lot.

    ReplyDelete
  5. The best foods are vegetable soups (no tomatoes,
    potatoes or eggplant) with spices, (cardamom, cumin, coriander,
    fennel, black pepper, turmeric, etc. Having other
    pursuits or obstacles close by will disturb your kid and ask him to get them instead, which may bring about him being affected by
    accidents and slips. Her chiropractor performed low amplitude, high velocity manipulation down the 3 spinal locations and almost 1.

    ReplyDelete

Featured Post

SQL Server AWS Migration BCP

stored procedure to generate BCP scritps to migrate the SQL Server database. Developed this stored procedure on my labs to simulate t...

Contributors