Ajoute les aliases de sync Sub-Session

This commit is contained in:
Gregory Trolliet 2020-04-18 20:10:08 +02:00
parent 44b19bda54
commit 95b08768c4

11
.bashrc
View file

@ -163,3 +163,14 @@ function syncMusicHDD() {
echo "[Error] Missing destination directory" echo "[Error] Missing destination directory"
fi fi
} }
function syncSubSessionMedia() {
read -p "Disque source: " src
read -p "Disque destination: " dst
rsync -av --delete "/media/raghnarok/SubSession$src/media/" "/media/raghnarok/SubSession$dst/media/"
}
function syncSubSessionCloud() {
read -p "Disk number: " disk
rsync -av --delete /media/HDD1/NextcloudSS/Sub-Session/ "/media/raghnarok/SubSession$disk/cloud/"
}