Tar Error [cannot be opened: not directory]
3 answers
I faced the same problem (for every file in the archive) and I solved it by adding ".tar.gz" to the archive file name, as I was able to download the PECL package without the file extension:
mv pecl_http pecl_http.tar.gz
Then I was able to issue the following command to extract the contents of the archive:
tar -xzf pecl_http.tar.gz
0
a source to share
Try using instead tar -zxvf archive_name
. I believe the command format has changed and it now requires z (unzip) x (extract) v (verbose) f (filename ...) as switches instead of plain text. The error comes from tar trying to do something with the zxvf file, which of course doesn't exist.
0
user5079292
a source
to share