blob: e26d5afdc254e342e6a4bec66132610d7522f1e2 [file] [log] [blame]
#!/bin/bash
# Sync the files/dirs specified in synclist once
# Usually the sync-manager could sync the file once before it starts, so that
# it makes sure the synclist is always synced when the sync-manager is running.
SYNCLIST=/etc/synclist
DEST_DIR=/run/media/rwfs-alt/cow
while read l; do
echo rsync -a -R "${l}" "${DEST_DIR}"
rsync -a -R "${l}" "${DEST_DIR}"
done < ${SYNCLIST}