simonedegiacomi / gphotosuploader

Unofficial Google Photos uploader and Go library
GNU General Public License v3.0
99 stars 30 forks source link

does it upload subdirectories on watched directory atomatically ? #24

Closed kurokirasama closed 6 years ago

kurokirasama commented 6 years ago

or we need to add them individually ?

simonedegiacomi commented 6 years ago

It should automatically watch subfolders if you use the "--watchRecursively" command line argument.

kurokirasama commented 6 years ago

what about upload recursively?

simonedegiacomi commented 6 years ago

When watching folders recursively new files added to the subfolders will be uploaded. At the moment there isn't an option to recursively upload existing files, you need to specify them manually. Perhaps a flag to recursively upload existing files could be useful?

kurokirasama commented 6 years ago

yes, that would be really useful. Thanks!

simonedegiacomi commented 6 years ago

Sorry, I was wrong. The function used to walk the file system to search files to upload is already recursive. This means that if you have a folder with a subfolder with an image (ex: a/b/file.jpg) that file will be uploaded.

kurokirasama commented 6 years ago

Cool! 😎

kurokirasama commented 6 years ago

Cool! 😎