git filter-branch で履歴を一括削除したい場合に用いる
$ git log --name-only 2> /dev/null | grep '.\(sdf\|suo\)$' | sort | uniq
hoge/huga/test.sdf
hoge/huga/test.v12.suo
...
$ git log --name-only 2> /dev/null | grep '/\(Win32\|x64\|Debug\|Release\)/' | sort | uniq
マッチングしたディレクトリ配下のすべてのファイルが列挙される