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