in reply to OT - tar: Removing '/' from member names

The message tar: Removing '/' from member names is being output by tar to stderr. You can redirect stderr on the command like with something like this:
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
    Thanks lot for your help. It's working properly. Regards, kumar