in reply to OT - tar: Removing '/' from member names
tar -cz /usr/fweb/xyz/abc > /usr/fweb/xyz/aa.tar.gz 2> /dev/null
The 2> redirects stderr the same way > redirects stderr. So the above command is telling the shell to send stderr to /dev/null which on most systems, just throws it away.
Put that command in your `` in your script, and see if it works.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: tar: Removing '/' from member names
by kumar (Initiate) on Feb 19, 2003 at 18:17 UTC |