| Developer's Daily | Unix by Example |
| main | java | perl | unix | DevDirectory |
| Command | tar |
| Description | The
"tar" command stands for tape
archive. This command is used to create new archives, list files in existing archives, and extract files from archives. The tar command can be used to write archives directly to tape devices, or you can use it to create archive files on disk. In many cases, tar archives are created on disk so it's easier to transport them across networks, such as the Internet. Note - the tar command does not compress files. Use the compress command to compress the tar
archive after you've created it. |
| Examples | tar
cvf /dev/rct0 /home
tar cvf /dev/fd0 /home/fred
tar cvf /tmp/home.tar /home
tar cvf
/tmp/home.tar /home
|