o0O0o.o0O0o
09-02-2009, 03:00 AM
Currently i am in home directory with folder public_html
i use
tar -cpzf backup.tar.gz public_html
There is directory called tmp in public_html which i want to exclude .
I tried
tar -cpzf backup.tar.gz --exclude={public_html/tmp/*} public_html
But its not working
i use
tar -cpzf backup.tar.gz public_html
There is directory called tmp in public_html which i want to exclude .
I tried
tar -cpzf backup.tar.gz --exclude={public_html/tmp/*} public_html
But its not working