cic-staff-installer/rsync/rsync-uninstall-script.sh
2022-02-14 16:31:24 +03:00

9 lines
333 B
Bash

host='root.grassrootseconomics.net'
file_to_sync='./uninstall.sh'
distination_dir='/usr/local/share/python/packages'
distination_file_name='cic-staff-uninstaller.sh'
user='root'
echo Syncing $file_to_sync to $distination_dir as $user on $host
rsync -avz --progress $file_to_sync $user@$host:$distination_dir/$distination_file_name