Topics
Published on January 10, 2017 by ProgrammingKnowledge

tar — The GNU version of the tar archiving utility

use
tar [-] A –catenate –concatenate | c –create | d –diff –compare |
–delete | r –append | t –list | –test-label | u –update | x
–extract –get [options] [pathname …]

DESCRIPTION
Tar stores and extracts files from a tape or disk archive.

The first argument to tar should be a function; either one of the letters Acdrtux, or one of the long function names. A function letter need not be prefixed with “-”, and may be combined with other single-letter options. A long function name must be prefixed with –. Some options take a parameter; with the single-letter form these must be given as separate arguments. With the long form, they may be given by appending=value to the option.

Leave a Reply

1 Comment on "Linux Command Line Tutorial For Beginners 36 – tar command to Compress and Extract Files"

Notify of
avatar

Clavo Destirious
Guest
Clavo Destirious
1 month 10 days ago

make more sir, highly appreciated

wpDiscuz