Resolving tar: you must specify ‘-Acdtrux’, ‘- -delete’ or ‘- -test-lable ‘ options
Hi how do I resolve the following code line considering the subject
:/tmp# tar -C /usr/local/ .xvzf ./executable-v8-Linux-64bit.zip |
you need to speficy tar options as -letter[s], so
Code:
#instead of: |
Quote:
Try unzip instead. |
tar -z means: Filter the archive through gzip(1). (see man page)
|
Quote:
By the way, tar is special since many options don't require a dash, e.g. tar tvf myarchive.tgz. This has been so since the early UNIX years. And finally, I have no idea what the title of this question has to do with its content. Perhaps it's an error message? |
Quote:
|
Quote:
Quote:
|
no, it is going to work in the reverse order: using tar -cz (creating a compressed archive) tar will first create the "result" tar file and will send thru gzip instead of saving that.
using tar -xzf will first gunzip the given file and the result will be untarred. |
All times are GMT -5. The time now is 09:23 PM. |