From e135ca05a979fc028e0682c7dfcdf74fd3f0d8eb Mon Sep 17 00:00:00 2001 From: kar Date: Mon, 2 Mar 2026 10:39:49 -0600 Subject: [PATCH] fix: Changing endpoint --- script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.sh b/script.sh index e874ebd..81b3e7b 100755 --- a/script.sh +++ b/script.sh @@ -3,7 +3,7 @@ root_dir="/home/$USER/DownloadMusic" share_dir="/home/$USER/music_share" -host="ssh2.karimlpg.net" +host="100.116.30.11" checkDir() { if [[ ! -d $root_dir ]]; then @@ -50,10 +50,10 @@ exportMusic() { echo "Unzipeando Musica" cd $share_dir unzip -o '*.zip' - rsync -r --no-g --no-p -v --include='*/' --include='*.m4a' --include='*.jpg' --include='*.flac' --include='*.lrc' --exclude='*' $share_dir/. admin@$host:/server/music + rsync -r --no-g --no-p -v --include='*/' --include='*.m4a' --include='*.jpg' --include='*.flac' --include='*.lrc' --exclude='*' $share_dir/. kar@$host:/server/music else echo "Exportando Musica" - rsync -r --no-g --no-p -v --include='*/' --include='*.m4a' --include='*.jpg' --include='*.flac' --include='*.lrc' --exclude='*' $share_dir/. admin@$host:/server/music + rsync -r --no-g --no-p -v --include='*/' --include='*.m4a' --include='*.jpg' --include='*.flac' --include='*.lrc' --exclude='*' $share_dir/. kar@$host:/server/music fi }