Here is the code I use in my CentOS 5 32bit.
But after this I see only some of files are zipped and a lot of them isn't included in produced gzip file.
nohup watch --interval=60 tar -zcvf /home/C/`date '+%m%d%y%H%M%S'`.tar.gz --exclude /home/C/t1/log.txt --exclude /home/C/t1/logs/log.txt /home/C/t1 &
Anyone know what is the problem with this ?