myshellconfig/bin/git-submodule-fix

7 lines
109 B
Bash
Executable file

#!/bin/bash
for arg
do
echo $arg
find . -name "`basename $arg`" | grep "$arg\$" | xargs rm -fr
done