int128 / gpup

A command to upload photos and movies to Google Photos Library using the official Google Photos Library API
Apache License 2.0
221 stars 22 forks source link

Read files from stdin #31

Open jpg0 opened 5 years ago

jpg0 commented 5 years ago

Added ability to read a file list from stdin when provided a path of '-'.

I did this because I had various image files that needed uploading (and putting into albums) but didn't necessarily line up with directories. Of course it's possible to do this already with an invocation of gpup per-image, however this loses parallel uploads (and would also hit the API rate-limit in my case).

(Note this is built on top of the previous include/exclude commit I already created a PR for.)