Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I know that I record by issuing the command raspivid -o filename.h264 -t 100000 (film for 100 seconds) but how do I specify the directory at witch I want to store the file?
raspivid -o filename.h264 -t 100000
Usb is at dev/sdb1
You need to create a directory for and mount the filesystem on the USB drive.
mount /dev/sdb1 /mnt/usb
Then you can specify the directory of where the USB drive is now mounted in the same command you issued before, like this:
raspivid -o /mnt/usb/filename.h264 -t 100000
Required, but never shown