sandeepmur
Programmer
Hi,
I am deleting some old files in the fwg manner:
touch 200506271823 /home/temp/tempdate.txt
rm `find . ! -newer /home/temp/tempdate.txt -type f`
The above works perfectly but I have a small problem.. There are some files in the current dir which I dont want to delete.
How can I "exclude" them in my rm command ?
thnx
I am deleting some old files in the fwg manner:
touch 200506271823 /home/temp/tempdate.txt
rm `find . ! -newer /home/temp/tempdate.txt -type f`
The above works perfectly but I have a small problem.. There are some files in the current dir which I dont want to delete.
How can I "exclude" them in my rm command ?
thnx