rm command and regular expressions via Linux BASH shell
- by PeanutsMonkey
I am attempting to use regular expressions to remove set of files however the bash shell returns the message
rm: cannot remove `[0-99]+ -': No such file or directory
rm: cannot remove `[a-zA-Z': No such file or directory
rm: cannot remove `]+.[a-z]+': No such file or directory
The command is [0-99]+\ - [a-zA-Z ]+\.[a-z]+
Questions
Can I use regular expressions?
If yes, how do I use them with commands such as rm, mkdir, etc