3 ms·
You might find rsync cleaner to use than a diff/cp loop. Another approach is to create a unique directory (named by hash or date) with the results, and once it
by fwip 7y ago
You might find rsync cleaner to use than a diff/cp loop.
Another approach is to create a unique directory (named by hash or date) with the results, and once it's good, symlink the real directory to it. (Full disclosure, I stole this approach from nextflow.io, a great workflow system aimed at bioinformatics).
ln -sfn "build-cache/2019-07-07-21:23:04" "build"