Cmd Generator

tar

Package and extract file archives, supports multiple compression formats.

tar -r -f backup.tar

Examples

# Append files to existing archive
tar -rf backup.tar file1.txt file2.txt

# Only update newer files
tar -uf backup.tar modified-file.txt

# Append directory to archive
tar -rvf backup.tar new-directory/