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
Post a Comment

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 the Mi...