2015/09/11

How to compress and decompress directory in Linux ?

1/
Compress and pack directory:

tar -zcvf archive.tar.gz directory/

c (create) - an archive from the files in directory (tar is recursive by default),
z (gzip)  - compress it using the gzip algorithm,
f (file) - store the output as a  named archive.tar.gz,
v(verbosely) list all the files it adds to the archive.

2/
Decompress and unpack the archive into the current director:

tar -zxvf archive.tar.gz

2015/09/01

Polish characters in HTML encoding

Polish characters in HTML encoding:
Ą - Ą
ą - ą
Ć - Ć
ć - ć
Ę - Ę
ę - ę
Ł - Ł
ł - ł
Ń - Ń
ń - ń
Ó - Ó
ó - ó
Ś - Ś
ś - ś
Ż - Ż
ż - ż
Ź - Ź
ź - ź
Source: http://unicode-table.com/