9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] manumatic picture copy
@ 2010-09-09 17:27 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2010-09-09 17:27 UTC (permalink / raw)
  To: 9fans

i put a couple of scripts on sources that you may
be able to bend to your own will
	/n/sources/contrib/quanstro/^(camera: cameracp mkthumb)

these scripts automate three things, and facilliate
a manumatic process for resetting cranky usb devices.

0.  camera: starts a fat fs on the camera's storage.  it's assumed to
be a cannon.
1.  unique new pictures are copied to /n/other/pictures/yyyymmdd
2.  if a usb error occurs that needs the device replugged,
cameracp waits for the user to do that
3.  mkthumb makes reasonable-sized plan 9 image thumbnails
(15%) from the images.  full size images tend to crash plan 9
terminals.  i should probablly use richard's resize, but since i keep
these things around, i might as well burn cpu.  my i7 does about
200 thumbs/minute and appears to be slightly limited by the fs,
peaking out at ~30000 packets/sec.

absolutely positively no man page.  sorry.

- erik



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-09 17:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-09 17:27 [9fans] manumatic picture copy erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).