Git rm by regex

by T3db0t   Last Updated October 20, 2019 01:01 AM

I need to git-remove all files (recursively) in a directory that end with -e. Is there a way to use a regex (i.e. /-e$/) to remove all these? There are hundreds of them.

This question is specifically if it is possible to use regex for such a situation. I am aware that I can just use bash expansions for the same purpose.

Tags : git regex

Related Questions

Updated April 03, 2015 21:17 PM

Updated March 30, 2015 22:00 PM

Updated April 18, 2015 21:00 PM

Updated June 03, 2015 02:00 AM

Updated February 16, 2017 14:01 PM