Hi Running RedHat 7.2
I had a tar script with the following lines. #!/bin/sh # ls -R scripttest tar -cvf scripttest > scripttest.tar ls -l # It would only produce a tar of zero bytes Error Message: tar: Cowardly refusing to create an empty archive I eventually ommitted the f from the cvf and it worked I know that the cvf should work as seen in this example : Host% tar -cvf $RMT -C ~joe . -C /sm4/joe/ . From: https://www.washington.edu/computing/unix/tar.html Is this a bug, or is my script wrong? Thanks Andrew
