first picture script
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# author : bachir soussi chiadmi
|
||||
# date : 10/06/2016
|
||||
|
||||
if [ ! -d "~/hehe-rover-pictures" ]; then
|
||||
mkdir ~/hehe-rover-pictures
|
||||
fi
|
||||
|
||||
date=date +"%Y-%m-%d"
|
||||
|
||||
/opt/vc/raspistill -q 100 -o "~/hehe-rover-pictures/$date.jpg"
|
||||
Reference in New Issue
Block a user