AS/400 Restore Commands

Trying to restore some files on our integrated Xseries, so I am posting the commands I use here, just in case I do actually get them to work.

RST DEV(‘/QSYS.LIB/TAP01.DEVD’) OBJ((‘mydir/*.psd’ *INCLUDE ‘restoredir’)) SUBTREE(*OBJ)

This command restores files from mydir to the specified restoredir. The example uses *.psd but could be used for programs, documents, etc.