cic-staff-installer/rsync-install-script.sh

10 lines
330 B
Bash
Raw Normal View History

2022-01-26 09:16:41 +01:00
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