Quote:
Originally Posted by
vgersh99
This is way too vague of a request.
Define "nothing happens" and share your tar cfvz.
Quote:
Originally Posted by
hicksd8
'zipped' is not really an expression used in the unix world. Zip files are Windows orientated.
The tar 'c' switch 'creates' a tar file.
The tar 'z' switch 'compresses' that file when it's done (giving rise to a tar.gz file). Just one file.
It is true, however, that some Windows based utilities for 'zip' files can, indeed, read (unzip) unix created files like tar.gz if they are transfered into a Windows environment.
Don't get confused.
X for extracting
F for file
Z for zipped this is according to Linux Academy
V for verbose
I'm just reiterating what was shown on LA video
I looked up man tar and you are correct that it's compress and not zip.
zip also compresses and archives like Z.
The issue is that the files don't uncompress.
According to the video it's supposed to create 2 files 1.)tar and 2.) tar.gz in addition to the files being uncompressed.
All I'm getting is tar.gz
no tar
no files uncompressed
just tar.gz
--- Post updated at 07:39 PM ---
Also, if you for some reason do need both files (a tar file and a compressed tar file) you could run tar with the 'c' option but not the 'z' option which will create you a tar file.
You could then take a copy of that file before running
compress on the tar file converting it to a
Hope that's clear
The instructor used all 4 flags
cfzv so I'm not sure what to think.
He started out with just creating the tar file and then he compressed the tar file in two separate steps.
He then demonstrated how it could be done in one step with all 4 flags.