TAR - create an empty tar archive

by
Jeremy Canfield |
Updated: October 08 2023
| TAR articles
This assumes you are already familiar with creating a TAR archive. If not, check out my article create a tar archive.
The -T or --files-from followed by /dev/null can be used to create an empty tar archive, like this.
tar --create --file my.tar --files-from /dev/null
Did you find this article helpful?
If so, consider buying me a coffee over at