Dec-22-2023, 06:11 AM
I don't know what azure storage is. If you need to change file names to suit, that can be done.
I believe rsync will work under MS Windoze, but I have never tried.
For syncing files I don't think rsync can be beat. Just use it on the command line, or make a bash script to copy from multiple folders.
You must have write permission on the remote machine.
For example, to send all files from /home/pedro/jpgs to another machine, you will be asked for your user, in this case pedro's, password.
If the remote machine doesn't have the directory /home/pedro/jpgs, it will be created, as will any and all sub directories.
rsync will only send (or receive) files which have changed since the last time you used rsync. This one-liner sends files over my LAN to another laptop, but I could put the address of my little cloud server. I just need to know the ip4 address of the other machine:
You can even use rsync to send files to a usb stick!
I believe -e "ssh" is redundant now, as all transfers use ssh, but I leave it there anyway!
I believe rsync will work under MS Windoze, but I have never tried.
For syncing files I don't think rsync can be beat. Just use it on the command line, or make a bash script to copy from multiple folders.
You must have write permission on the remote machine.
For example, to send all files from /home/pedro/jpgs to another machine, you will be asked for your user, in this case pedro's, password.
If the remote machine doesn't have the directory /home/pedro/jpgs, it will be created, as will any and all sub directories.
rsync will only send (or receive) files which have changed since the last time you used rsync. This one-liner sends files over my LAN to another laptop, but I could put the address of my little cloud server. I just need to know the ip4 address of the other machine:
Quote:rsync -av -e "ssh" --progress /home/pedro/jpgs [email protected]:/home/pedro/
You can even use rsync to send files to a usb stick!
I believe -e "ssh" is redundant now, as all transfers use ssh, but I leave it there anyway!