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:
I've been looking for a way to do this for a while, get a not pattern for shell globs. This works, I'm using to grab logs from a remote server via scp.
There is 1 alternative - vote for the best!
Negative shell globs already come with bash. Make sure to turn on extended pattern matching with 'shopt -e extglob'.
Hides some entries from listing.
If you can do better, submit your command here.
You must be signed in to comment.