Category Archives: Archiving

Nginx and gzip_static

Gzip static module allows you to serve per-compressed files instead of “on the fly” compressed files.

Nginx:

 

Python script

we do need to build the gzip files every time we do update our project. This script will scan all files in resource directory and gzip each file:

Archiving

TAR extract:

 

TAR extract and view files (add v):

 

TAR extract and view files (add v) to different directory

 

TAR create and exclude upload folder:

 

TAR create:

 

TAR create and view (add v):

 

TAR create using ZIP compression:

 

TAR create using BZIP2 compression:

 

TAR create using 7zip compression (7z must exist):

 

7Zip extract archive created with the above command

 

7Zip extract

 

7Zip create fast compression, multivolume 1GB archive on different disk

 

Zip create fast compression, multivolume 1GB archive on different disk