Cowardly refusing to create an empty archive code example
Example: tar: Cowardly refusing to create an empty archive
instead of using tar -cvf directory use tar -cvf result.tar directory
instead of using tar -cvf directory use tar -cvf result.tar directory