3 lines
140 B
Bash
3 lines
140 B
Bash
|
#!/bin/bash
|
||
|
for f in $( find . -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v
|