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:
-Qdt Lists dependencies/packages which are no longer required by any packages
-q Output only package name (not the version number)
-R Remove package(s)
Rest is self-explanatory.
I just started out with Arch - so if there is any better/standard method to achieve the same - please suggest.