A simple shell script for doing the same command on a collection of files. For example, to copy all .c files to .c.bak:
mapext cp .c .c.bak
To convert all GIF files into Sun rasterfiles (using pbmplus):
mapext -f 'giftoppm|pnmtorast' .gif .r