Next: , Up: All tar Options   [Contents][Index]


3.4.1 Operations

--append
-r

Appends files to the end of the archive. See How to Add Files to Existing Archives: --append.

--catenate
-A

Same as --concatenate. See Combining Archives with --concatenate.

--compare
-d

Compares archive members with their counterparts in the file system, and reports differences in file size, mode, owner, modification date and contents. See Comparing Archive Members with the File System.

--concatenate
-A

Appends other tar archives to the end of the archive. See Combining Archives with --concatenate.

--create
-c

Creates a new tar archive. See How to Create Archives.

--delete

Deletes members from the archive. Don’t try this on an archive on a tape! See Removing Archive Members Using --delete.

--diff
-d

Same --compare. See Comparing Archive Members with the File System.

--extract
-x

Extracts members from the archive into the file system. See How to Extract Members from an Archive.

--get
-x

Same as --extract. See How to Extract Members from an Archive.

--list
-t

Lists the members in an archive. See How to List Archives.

--update
-u

Adds files to the end of the archive, but only if they are newer than their counterparts already in the archive, or if they do not already exist in the archive. See Updating an Archive.


Next: tar Options, Up: All tar Options   [Contents][Index]