Tar: Cowardly Refusing To Create An Empty Archive
- Forums
- Linux Hosting
- Tar: Cowardly Refusing To Create An Empty Archive
im getting this error message when i try to execute the tar command to make a backup directory of some websites tar: cowardly refusing to create an empty archive [1348], Last Updated: Mon Jun 24, 2024
Bneterman
Sun Feb 28, 2010
3 Comments
1616 Visits
im getting this error message when i try to execute the tar command to make a backup directory of some websites:
tar: Cowardly refusing to create an empty archive
this is how my command looks like:
# tar -pczf $BACKUPS $PATH/
try these commands to see which variable has no value
# echo $PATH
# echo $BACKUPS
then you can set the variables when you find which one is empty
# export $BACKUPS=myfilename.tar.gz
https://www.webune.com/forums/tar-cowardly-refusing.html