I have several files (in a folder containing thousands of files), for example:
...
page_bonus.txt
page_code1.txt
page_code2.txt
page_text1.txt
page_text2.txt
page_text3.txt
...
How to delete all page_code * files
Note. I do not want to use FileUtils or shell
ruby delete-file
Matthieu Raynaud de Fitte
source share