Dear Sirs,

  I am a linux administrator in a large school district. We are running
samba for print and file service. The students will often clog up their
home directories with lots of illicit software. I edited the crontabs to
run a script that would clean out any *.exe or *.EXE files. I tried to
use rm, version 4.0 that ships with redhat 6.0, bash shell. Heres whatI
found after some tinkering:
if given the option to rm -Rf * or rm -rf *, will recursively remove all
files and directories  from the point of execution in the directoy tree.
if given the option rm -Rf *.exe or rm -rf *.exe, will remove only *.exe
files in the current directory, but will not recurse into subdirectories.
Help! Am I doing something wrong, or is this a true bug? man page says it
should recurse...
Thanks for you time, guys, I love Linux and am working on a Linux
end-to-end server soluiton ... this is a part of that solution...
-Ted Rudyk, Solar Systems.

Reply via email to