bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] (no subject)


From: Andrew
Subject: [Bug-tar] (no subject)
Date: Sat, 22 Mar 2008 12:18:00 -0000

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]