what is the exact path to the directories? can you give me a few examples? thanks
jack -----Original Message----- From: Jyotishmaan Ray [mailto:jyotishm...@yahoo.com] Sent: Sunday, January 04, 2009 11:36 PM To: perl-ldap@perl.org Subject: RE: Perl Script Needed To Delete All The Files Stored In The Home Drectories. Dear All, I am a new bie in perl scripting language. I have this problem : I have around 500 students directories created on a server where they (students) have their own program files etc. Now the priblem is to delete all these files of those students whose roll no. starts with s08-1-**-* where the ** means a number between 1 and 5 (inclusive ) specifying the branch they study in the * means the a number between 0 and 100 or more or can be done this way too considering the rollno as s08-1-1-** where ** stands for the students regsitration number/roll number. In that case the script will have to be changed for each branch, by changing the number 1, 2, 3,,4 0r 5. Ultimately we have to delete all the files stored in these folders without deleting their home directories. Can any one give a nice script/ solution to do this. Thanks in advance, jm