Ajoute les aliases de sync Sub-Session
This commit is contained in:
parent
44b19bda54
commit
95b08768c4
1 changed files with 11 additions and 0 deletions
11
.bashrc
11
.bashrc
|
@ -163,3 +163,14 @@ function syncMusicHDD() {
|
|||
echo "[Error] Missing destination directory"
|
||||
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/"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue