XPath Shell (XPsh) is a shell extension for selecting files with an XPath-inspired syntax, depending on file attributes and the metadata and/or content of individual files. XPsh can be used as a standalone command, or it can be integrated into a shell.