Save input directory to stdout