My include -exclude option is not working. I am not able to figure out the
problem.
Here is what I am doing ....
INLD=/export/script/incld-file
EXLD=/export/script/exld-file
OPTION=" --stats --include-from=$INLD --exclude-from=$EXLD"
echo " Enter files name/ dir name to be included
read AFILE
echo $AFILE >> $INLD
..........................................
..same for exclude file
The include file looks like
# cat incld-file
/export/home/*
/tmp/*
# cat exld-file
/export/home/Mail
finally ---- > rsync -avz $OPTIONS $HOME/rsync_script
server::module
Now at the server end, I am getting only $HOME/rsync_script. I am not
getting any file from "excluded-file".
Any suggestion. BTW, I saw in rsync archive, someone using /foo/**
........... What is the use of "**" ..is it same as "/foo/*" ....
Tia,
sk