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:
Since bash 4.0, you can use ** to recursively expand to all files in the current directory. This behaviour is disabled by default, this command enables it (you'd best put it in your .profile). See the sample output for clarification.
In my opinion this is much better than creating hacks with find and xargs when you want to pass files to an application.
There are 8 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.