Git rm by regex

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

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

What does `[]` do in a regex?

Updated March 30, 2015 22:00 PM

search and replace in VI

Updated June 03, 2015 02:00 AM

regex - delete everything after the first letter

Updated February 16, 2017 14:01 PM