All commands tested on Mac OS Monterey / Sep 12, 2023

Tar Append Examples

How to append a file to an existing tar archive

Add new-file.txt to the existing archive files.tar.
View the command

How to append files of a specific filetype to an existing tar archive

Add all the *.txt files in a directory to the existing files.tar archive.
View the command

How to append a directory to an existing tar archive

Add a directory ~/some-other-directory to an existing files.tar archive.
View the command