File Compression and archival in UNIX
Posted on | January 15, 2010 | No Comments
There are lot of times when you need to compress and archive files in UNIX in data warehousing project.The reason for this is files in DWH are huge.In this article I will explain how to compress files and than archive them.Files compression is not useful for small files.There are few command and utilities you can use to compress files.They are as follows
1. compress
2. gzip
3. tar(with c option) – Arcchives files without compression
Archive may contain one or more files.Generally archival is done for files which are not used much.
The command to decompress are as follows respectively
1.uncompress
2. gunzip
3. tar(with x option)
Comments
Leave a Reply