git status | grep "deleted" | awk 'print {"git rm " $3}' >> temp.sh sh temp.sh rm temp.sh