OK that's worked brilliantly. Now I've made a script to copy all matches to a directory within $HOME, but really I'd like those to be copied to a temporary area, something that's going to get cleared between sessions. I thought perhaps making a directory in utmp, which I gather points to an area in RAM rather than the NAND, but this directory can only be accessed by root. Is there any other area I can dump these temporary files in?