Closed ashgillman closed 3 years ago
I used rsync
for the -u
and -a
flags, but on closer inspection, good old cp
supports these
ok. what about checking if rsync
is present, if so use it, otherwise use cp
? More complicated, but rsync
does feel nicer. It could prevent problems with files being open in one notebook, and people redownloading again by accident.
I think cp -ua X Y
and rsync -ua X Y
are almost functionally equivalent? Make a copy, but only if src is newer, and maintain all file metadata?
alright! I didn't know that.
Please check if MacOS cp
supports it...
No, MacOS doesn't... I'll make a function
It was getting bigger than Ben Hur, I think just using cp is acceptable. These scripts I suppose would be re-written in Python for #83 ?
agreed
When building Docker: