Feb 11th, 2010
Most popular archiving tool used in Unix and Linux
Most popular archiving tool used in Unix and Linux is the tar command.
The tar command was originally used to write files to a tape device for archiving. However, it can also write the output to a file, which has become a popular way to archive data in Linux.
-c –create               create a new archive
-d –diff, –compare   find differences between archive and file system
    –delete               delete from the archive (not for use on mag tapes!)
-r  –append              append files to the end of an archive
-t  –list                    list the contents of an archive
-u  –update              only append files that are newer than copy in archive
-x  –extract, –get    extract files from an archive
tar command is a simple way to create archive files of entire directory structures. This is a common method for distributing source code files for open source applications in the Linux world.
