yosys/manual/clean.sh

3 lines
142 B
Bash
Raw Normal View History

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