Brandon Reed
unread,Jan 29, 2013, 2:08:41 PM1/29/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to googlecl...@googlegroups.com
I'm trying to automatically upload an image to a picasa album and only retain the current image, delete the older ones. I'm tagging the image at upload and it shows in the web interface but the query is failing so my script isn't deleting the older images.
I built a bash script that captures the image from my webcam then tries to delete the existing images then upload the new one, it's uploading fine via Cron.
google picasa post .... is working.
The line that fails is:
google picasa delete --yes --title "WeatherCam" --query "weathercam"
It fails to delete anything, there's 50+ images all tagged "weathercam" in the album, the tags are clearly there in the web interface.
Other things I've tried:
google picasa delete --yes --title "WeatherCam"
google picasa create --title "WeatherCam"
That will delete the album entirely and create a new one but that breaks any links to the album since every new album has a unique url.
Why I want to do this is that I've got a couple cameras I want to be able to monitor remotely but they are behind a couple layers of NAT that I can't open up ports on. "Weathercam" is going to be setup on Wunderground using FTP but the other one isn't a weather cam so It's not appropriate for their service (It's aimed at a dog kennel indoors right now).