commit 21066205eae5f50354c884e3ec7d532e6288bcd6 parent 7ec3f8bb0f53bcf3a1e6c30e4d2520f22ca42208 Author: MichaĆ M. Sapka <michal@sapka.me> Date: Mon, 23 Jan 2023 11:46:59 +0100 feat: music sync scrit Diffstat:
A | bin/.local/bin/music-sync | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/bin/.local/bin/music-sync b/bin/.local/bin/music-sync @@ -0,0 +1,4 @@ +#!/bin/bash + +[ "$1" = "--to-local" ] && rsync -rtvzP msapka-durandal@10.0.1.200:/volume2/music/ ~/music +[ "$1" = "--to-remote" ] && rsync -rtvzP ~/music/ msapka-durandal@10.0.1.200:/volume2/music/