Hi all,
Using Tar i can able to exclude some of the directories
using this command
Code:
tar -cpzvf /var/tmp/datea.tar /data --exclude=
{android,blackberry,animated_favicon1.gif,build,build.xml,db,error.jsp,favicon1.ico}
But my requirement is to exclude nearly 200 directories, is it possible to do this,
I tried like this i mentioned 200 directories names in a file called exclude.txt
and tried this command
Code:
tar -cpzvf /var/tmp/datea.tar /data --exclude=exclude.txt
But no luck is there any other options?? Please guide me to solve this thread.