Bash - rm using a pattern

15 Oct 2017

Remove files matching a pattern with rm - example: remove all the files that do not start with a:

rm [!a*]*
[ bash  ]