it is not working , I am not sure if the syentax is wrong or the way i am doing it in the system call is wrong. It doesn't give an error , and don't delete the files. Can someone advice? thankssystem(qq(find /dir/dir../ -mtime +30 -exec egrep -v 'OLD|NEW' -exec r +m -rf {} \;));
In reply to command using system by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |