tar -zcpf backup.tar.gz -g files.snar /path/to/folder
creates a compressed archive of all the files under /path/to/folder. No issues there. However, I have no particular use for the backup.tar.gz file once I have the files.snar file.
How do I get tar to simply create files.snar and not the actual .gz file? Sure I can delete it later but it sounds like an unnecessary operation. I have attempted to play around with /dev/null but my knowledge of how it works is rather limited.