Python Forum
Upload Files to Azure Storage Container
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload Files to Azure Storage Container
#7
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:

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!
Reply


Messages In This Thread
RE: Upload Files to Azure Storage Container - by Pedroski55 - Dec-22-2023, 06:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  uploading files from a ubuntu local directory to Minio storage container dchilambo 0 529 Dec-22-2023, 07:17 AM
Last Post: dchilambo
  Making a question answering chatbot based on the files I upload into python. Joejones 1 1,344 May-19-2023, 03:09 PM
Last Post: deanhystad
  azure TTS from text files to mp3s mutantGOD 2 1,787 Jan-17-2023, 03:20 AM
Last Post: mutantGOD
Lightbulb shutdown host from docker container cosmin1805 0 995 Nov-27-2022, 06:34 PM
Last Post: cosmin1805
  networkx package is not visible in singularity container image erdemath 11 2,441 Oct-14-2022, 12:04 PM
Last Post: Larz60+
  python installation/running inside singularity container erdemath 2 1,882 Sep-21-2022, 08:13 AM
Last Post: erdemath
  Python in Singularity Container on Ubuntu erdemath 0 945 Aug-31-2022, 02:17 PM
Last Post: erdemath
  Get Azure activity logs using python script raham3406 4 3,659 Apr-27-2021, 05:10 AM
Last Post: raham3406
  Wanted to tag azure resources with creator name raham3406 0 1,481 Apr-25-2021, 02:24 PM
Last Post: raham3406
  How can I upload some files to my website? brunolelli 3 2,330 Mar-17-2021, 01:40 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020