|
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/
.
Is this a bug, or is my script wrong?
Thanks
Andrew
|
[Prev in Thread] | Current Thread | [Next in Thread] |