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:
A quick find command to identify all TAR files in a given path, extract a list of files contained within the tar, then search for a given string in the filelist. Returns to the user as a list of TAR files found (enclosed in ) followed by any matching files that exist in that archive. TAR can easily be swapped for JAR if required.
There are 2 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.