MellonScholarlyCommunication / css-suite

css-functionality
2 stars 0 forks source link

css-scp : add mirror support #3

Open phochste opened 2 years ago

phochste commented 2 years ago

Mirror from local to CSS , or from CSS to local.

css-mirror FROM TO

css-mirror https://bellow2.ugent.be/test/demo/ /tmp
css-mirror /tmp  https://bellow2.ugent.be/test/demo/
Dexagod commented 2 years ago

Should this take into account file contents? Or just delete / add missing files?

phochste commented 2 years ago

The result should be a complete mirror of the directories (including deletion of the files that are missing at the other side)