I get the following warnings. Removing the leading '..' is actually
what I want. Is there a way in tar to suppress such warnings?

$ cat main.sh
tar czvf ../trial/`basename $PWD`.tar.gz ../`basename $PWD`
$ ./main.sh
tar: Removing leading `../' from member names
../current_diretory/
../current_diretory/.main.sh.swp
../current_diretory/main.sh


Reply via email to