9 lines
333 B
Bash
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 |