Move /tmp directory to a file.