Why is *.tar.gz still much more common than *.tar.xz? [closed]

“Lowest Common Denominator”. The extra space saved is rarely worth the loss of interoperability. Most embedded Linux systems have gzip, but not xz. Many old system as well. Gnu Tar which is the industry standard supports flags -z to process through gzip, and -j to process through bzip2, but some old systems don’t support the … Read more

Zip including hidden files

EDIT: The correct way is zip -r 1.zip . The commands shown in my previous answer below are incorrect because they also include the parent directory. Have you tried this: zip yourfile.zip sourcedir/* .* or you in your case zip 1.zip * .[^.]* It should include all hidden files also.

How to unzip a file using the command line? [closed]

If you already have Java Development Kit on your PC and the bin directory is in your path (in most cases), you can use the command line: jar xf test.zip or if not in your path: C:\Java\jdk1.6.0_03\bin>jar xf test.zip Complete set of options for the jar tool available here. Examples: Extract jar file jar x[v]f … Read more