You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Samuel VERMEULEN c4d32b6c36 maj cron 12 months ago
LICENSE Initial commit 12 months ago
README.md maj cron 12 months ago
synchro-disk.sh up 12 months ago

README.md

synchro-disk

install

git clone https://git.weblib.re/Oisux/scripts-brique.git && cd scripts-brique
ln -s $(pwd)/synchro-disk.sh /usr/bin/synchro-disk

Manuel

synchro-disk /dev/sdX # sdX étant le second disque

Cron toutes les heures

0 * * * * echo -e "$(date)\n" > /var/log/synchro-disk.log 2>&1 && /usr/bin/synchro-disk /dev/sdX >> /var/log/synchro-disk.log 2>&1