bak_cleaner.sh 103 B

1234
  1. #!/bin/sh
  2. for i in $(git status | grep \.bak$ | perl -nE 'say +(split)[-1]'); do echo $i; rm $i; done