-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selective files (JPG only) #17
Comments
I took a look at the options and I unfortunately don't see any filter options. One thing you could try is removing the '-P' option from the command and using '--new' instead. This only works on some camera models and will only download items that haven't been downloaded previously. Then you can just delete the video files after each run and they won't be re-downloaded. The only other options I can think of is maybe a 'gphoto2 --list-files' could be executed. Then inspect the list. Then download specific files like so: 'gphoto2 --get-file 7-13'. I'm not sure how easy or efficient that would be. Let me know if you try any of the suggestions and/or are successful. |
Hi thanks for reply! I think that these mod will be useful, especially for all pros using Sony cams (I don't know only vendors, but Sony is putting JPGs and RAWs in the same folder, which makes impossible to use folder specify import). I was looking for solution, and found a way which is working, but have no idea how to implement it into your script: gphoto2 -L --quiet | grep JPG | while read fn Adding that would make the magic! Do you have any idea how to use it in sony-pm-alt.py? |
I can't get seem to make that command work for me because my Sony shuts down before it completes. You can try this and see if you have better luck. Update: sony-pm-alt.py. Change: Then create a new shell script named:
Maybe you can try playing around with it and have better luck. If it does work, you might want to include '--skip-existing' so it doesn't re-download files. Let me know if you have any luck |
no luck so far. gphoto2 is starting to download a file (tmpfile*) but then it seems it drops the connection, files is 0 byte size. I'll investigate the topic |
Hi Buddy,
I finally figure how to make all up and running. However I have one question. Is there an option how do transfer only JPG files? I Wass looking for such option in gphoto2, but it's not so easy. Do you have any ideas maybe?
The text was updated successfully, but these errors were encountered: