[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Parsing a file name in the shell



Can someone help me this? We run a FTP server that has constant
scriptkiddie activity, i.e. uploading of warez. I would like to automate
the removing of directories, as they are always a number, but I can't
figure out how to test whether the name is or starts with a number.

Does anyone have some good ideas or experience with this? Shell
scripting isn't one of my strong points. The server is Debian Woody.
Please CC me as I am not currently subscribed to the list.

P.S. I'm using Pure-FTP and have it setup so that the Warez cannot be
downloaded, so they can't get it back off, but it is annoying to have to
do this manually. Annonymous uploads are needed so I can't turn that
feature off. Thanks in advance.

-- 
Ron Mullins
DigiTerra, Inc.
IT Network Engineer
Email: rmullins@digiterra.com
Phone: 219-247-4870



Reply to: