how do I filter output for just stderr messages?

Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Jul 2, 2020

frodo$ sh setup.sh ~/we > /dev/null

PIK003: /home/hendry/we/dcp_9593.jpg has an error in the EXIF.

PIK003: /home/hendry/we/dcp_9600.jpg has an error in the EXIF.

PIK003: /home/hendry/we/dcp_9621.jpg has an error in the EXIF.

PIK003: /home/hendry/we/dcp_9626.jpg has an error in the EXIF.