I'm trying to figure out my old skill in *nix.
What I'm trying to achieve is to remove every folders that does not contain a specific word.
This is the listing
➜ myfolder: pwd
/user/myfolder
➜ myfolder: ll locale
drwxr-xr-x 3 user staff 102 23 Oct 11:13 bn_BD
drwxr-xr-x 3 user staff 102 23 Oct 11:13 bn_IN
drwxr-xr-x 3 user staff 102 22 Oct 19:03 en_CA
drwxr-xr-x 8 user staff 272 9 Dec 16:10 en_US
drwxr-xr-x 3 user staff 102 22 Oct 19:03 es
drwxr-xr-x 3 user staff 102 21 Oct 13:18 fr
drwxr-xr-x 3 user staff 102 23 Oct 11:13 pt
drwxr-xr-x 3 user staff 102 21 Oct 13:18 ru
drwxr-xr-x 3 user staff 102 21 Oct 13:18 th_TH
Now I want to remove everything except en_US
I don't know what is the not in the command
rm -rf locale/[!somethinghere]