diff --git a/camshot b/camshot new file mode 100755 index 0000000..76146e3 --- /dev/null +++ b/camshot @@ -0,0 +1,9 @@ +#!/bin/bash + +#Создан: Вс 30 мар 2014 15:40:48 +#Изменён: Вс 30 мар 2014 15:42:59 + +#http://www.commandlinefu.com/commands/view/11774/press-enter-and-take-a-webcam-picture. + +read && ffmpeg -y -r 1 -t 3 -f video4linux2 -vframes 1 -s sxga -i /dev/video0 ${1:-~}/webcam-$(\date +%Y-%m-%d_%H:%M).jpeg +