Friday, September 19, 2008

Dired: Filter file names

If you want to see only files with certain extensions like *.sh, the simplest way to do it is C-x d *.sh to just show shell scripts.  This thread on shows other ways of doing the same.  As you can see there are a number of ways to achieve the same but in my opinion, filtering it by passing the regex to dired is the easiest.