sudo rsync -ravzh /home/source/ admin@ipaddress:/share/destination
You may also like
IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on […]
scp -r /local/directory remote_username@ipaddress:/remote/directory
Manually change the management IP of a VMware ESXi 6.7 host Open a SSH session to the current management IP and run […]
This is the command to remove a folder/directory including its contents, use with caution as you wont get an “are you sure” […]