Cleaning up unused assets?

As I near the end of my site’s new design, it seems like a good idea to clean up my unused CSS and images. Is there an automated/scripty way to search for unused assets?

Example:

  • Search my CSS, mark any classes that I did not use in my code…
  • Search my images/ folder, mark all images not used in my code.

Besides, obviously, going through them one-by-one and searching. Which I will do if there isn’t an easier way. :smiley:

FWIW, I’m using Xcode editor…