Thread
:
[Idea]program to instantly send new photos into pre-defined server or via mail
View Single Post
magick777
2013-06-12 , 10:08
Posts: 167 | Thanked: 204 times | Joined on Jul 2010
#
3
Thinking aloud here, not providing answers yet...
- does this need to be done at camera / application level? Can it be done at filesystem level? We want to react when a photo is successfully written to a filesystem, not to the photo being taken and processed.
- I appreciate that we don't want to run rsync from cron for power/bandwidth reasons, but could we create a watched directory to which the camera saves and a way of (doing arbitrary thing) to back it up? Could it be based around inotify/incrond? (
http://www.cyberciti.biz/faq/linux-i...e-directories/
)
If that provides the trigger, it should be pretty easy to whip up scripts to sync new files to [rsync|webdav|whatever]. Is there still a need to build it specifically into or around the camera?
Edit: we seem to have inotify-tools, which provides inotifywait; this could be used to detect close-of-write on a new file in the camera directory. What we do from there is open to debate...
Last edited by magick777; 2013-06-12 at
10:31
.
Quote & Reply
|
The Following 4 Users Say Thank You to magick777 For This Useful Post:
Estel
,
pichlo
,
reinob
,
Wikiwide
magick777
View Public Profile
Send a private message to magick777
Find all posts by magick777