Pocket howtos: tar command


tar is command to combine many files or directories to one file plus with can be compress and extract files too.

Command to combine files or directories into one file is

tar -cfv filename.tar dirname1 dirname2

cf is create a new archive file
v is output process to terminal
filename.tar is archive file name
dirname1, dirname2 is all files or directories that you want to combine together

Subscribe to RSS - tar