How can I delete nay file that has a number in its name from directory /www/ and up? Like, it would delete
a1.php
a2.php
123213.php
asdasd5.php
Would this work?
ls | grep \([1-9]\) -f | xargs rm
I haven't tested it yet, don't want to mess up anything.