A better way to upload photos?

I’m trying to upload photos to my Jupyter Notebook from my computer, but when I have to upload 160 images, I have to click the “upload button” 160 times.

Is there a more efficient way to upload images in bulk?

Thanks!

Your best option depends on where you are currently running your Jupyter Notebook? If you are running the Jupyter notebook from a virtual machine one option is to use SCP (secure shell copy).

Alternatively, if the photos aren’t sensitive (and the files not too large) you could upload them to a file sharing service and download them into the notebook using wget. I often use https://transfer.sh/ and it usually works well.