hcoona / OneDotNet

The DotNet mono repository for me
GNU General Public License v3.0
2 stars 1 forks source link

[Feature] Sync folder #136

Closed hcoona closed 6 months ago

hcoona commented 1 year ago

Sync folder A -> B.

  1. Enumerate both side files.
  2. If the filename matched, compare their size, content respectively. Overwrite not same file in B.
  3. If file exists only in B, remove it.
hcoona commented 1 year ago

It's for sync files from Kopia mounted snapshot.

hcoona commented 1 year ago

There's no need to compare the content if we want to overwrite it on difference unless the write is significant slower than read. (Need PERF)

hcoona commented 6 months ago

Won't do it due to low priority.