10 lines
330 B
Bash
10 lines
330 B
Bash
|
host='root.grassrootseconomics.net'
|
||
|
file_to_sync='./install.sh'
|
||
|
distination_dir='/usr/local/share/python/packages'
|
||
|
distination_file_name='cic-staff-installer.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
|