complete cleanup-tmp command