commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
There are 4 alternatives - vote for the best!
-depth argument will cause find to do a "depth first" tree search, this will eliminate the "No such file or directory" error messages
With the plus instead of semicolon, find builds the (eg.) rm command like xargs does - invokes as few extra processes as possible.
Removing .svn directories without a pipe
If you can do better, submit your command here.
You must be signed in to comment.