From: "Simo M." Date: 2010-10-20T15:54:18+09:00 Subject: Removing files if those exists Hi, I just started to work with ruby and I do not know how to do this. So I have files junk1.cs, junk2.cs, junk3.cv etc. in the same folder. There is also other files in the same folder that cannot be deleted. What I would like to do is If file junk*.cs exist - remove all junk*.cs files from dir Thanks in advance. -- Posted via http://www.ruby-forum.com/.