Auto saving web image
Author
Discussion

philthy

Original Poster:

4,697 posts

271 months

Friday 6th July 2007
quotequote all
I'm still trying to come up with a solution for my webcams.
I have two cameras that upload about a thousand images each a day. I want to use one of these feeds to create an archive, and then possibly convert into a movie, or timelapse sort of thing. I can set one of the cameras to create a file with a timestamp, and then display the latest image with the script I got from here a week or so back. This means circa 1000 images a day, quite a lot over the course of a month.
I'm wondering if there is any software or script that could automatically save/copy an image a few times a day, preferably renaming it with a timestamp. The current image is overwritten every minute, with the same name.
Any pointers ?
TIA

philthy

Original Poster:

4,697 posts

271 months

Sunday 8th July 2007
quotequote all
I've been searching for an answer on this one, and I'm wondering if it could be done with some sort of automated linux script?
I've found FTP clients that can schedule file backups, but this needs to be running on a seperate machine.
Any linux gurus about?

dilbert

7,741 posts

262 months

Sunday 8th July 2007
quotequote all
This is really going to depend very much on your setup.

You can detect that the file has been updated by checking the file date and time, but it means you have to have something running that will continuously monitor the date and time of that file to identify when it is updated.

Clearly if you can do that much, then you can copy the file off elsewhere with a unique name.

It would be much better if you could do all of this in response to an interrupt, or as a result of a scheme where your image aquisition device is triggered by a process that requests an image every timed interval.

What you need is some software!!!!!

If you were windows, I'd be able to help more, but I'm not really Linux.

philthy

Original Poster:

4,697 posts

271 months

Sunday 8th July 2007
quotequote all
Thanks for your reply Dilbert.
I've got some FTP software which I'm trialling, and it seems to do the job. I can of course just install it on the remote machine which is running 24/7 and then upload the whole file once a month or so. It just seems an arse about face way of doing it. It could be scheduled to copy the file once a day, say at midday, and that would be enough for me to have an archive.