Joined June 2011
·
Posted to
How NOT to delete files with the find command
over 1 year
ago
Thanks, hopefully I will never do the same mistake :) When deleting files using find, I usually do this:
find . -name "*.pyc" -exec rm -f {} \;
Achievements
582 Karma
29,993 Total ProTip Views

Python 3
Have at least three original repos where Python is the dominant language

T-Rex 3
Have at least three original repos where C is the dominant language

Raven
Have at least one original repo where some form of shell script is the dominant language

T-Rex
Have at least one original repo where C is the dominant language

Philanthropist
Truly improve developer quality of life by sharing at least 50 individual open source projects

Beaver
Have at least one original repo where go is the dominant language

Bear
Have at least one original repo where Objective-C is the dominant language

Platypus 3
Have at least three original repo where scala is the dominant language

Platypus
Have at least one original repo where scala is the dominant language

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2012

Komodo Dragon 3
Have at least three original repos where Java is the dominant language

Python
Would you expect anything less? Have at least one original repo where Python is the dominant language

Epidexipteryx
Have at least one original repo where C++ is the dominant language

Altruist
Increase developer well-being by sharing at least 20 open source projects

Desert Locust
Have at least one original repo where Erlang is the dominant language

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Lab
Have at least one original repo where C# is the dominant language

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

Komodo Dragon
Have at least one original repo where Java is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose
Have at least one original repo where Ruby is the dominant language
Thanks @gjerokrsteski :) I suspected that there might be an option for this, but I couldn't find it at the time. Nonetheless, it does not fit my usecase, because I need to be able to selectively enable this functionality for certain tests/test suites. But very good to know!