I'm using my desktop and a single board cpu (Raspberry Pi 2 - 900 MHz) to sync two very large directories with large files. Often, the files are the same but the filenames are changed. Unison is suggested here for that purpose, which I've used to good effect for smaller directories / files.
However, waiting for the single board to hash the files takes a very long time.
Is it possible to pre-cache the hashes so that I could run it overnight periodically with cron?
My attempt:
# Roots of the synchronization
label = Precaches Media Server
auto = true
root = /media/Files
root = /media/Files
However, syncing against itself causing a locking issue
Contacting server...
Looking for changes
Fatal error: Warning: the archives are locked.
sudo mount -o bind /mediaFiles /media/Files2
, so now you have two mountpoints on the same device. In your configuration replace the second line by/media/Files2
. Unison then sees two different folders with identical contents. – ridgy Feb 14 '17 at 18:03