I wrote a script to capture images from the Raspberry Pi NoIR cam. I want to timestamp the name of the image but I also need the name for another process. I tried:# Define pathpath=/home/pi/Pictures/project/# command to capture image in signal moderaspistill -t 500 -s -w 1024 -h 768 -q 100 -n -awb off -awbg 1.01,0.73 \    -o ${path}tmp/tmp.jpg &...do other stuff# capture imagepkill -SIGUSR1 raspistill# create timestamp nameNAME=$(date +%Y%m%d_%H%M%S).jpgmv ${path}tmp/tmp.jpg $path$NAMEDuring the mv command I get a mv: cannot stat no such file or directory error. The directory does exist however no image seems to get saved so it appears my -o path has an error but I cannot figure out what it is. Any ideas?
mv: cannot stat
raspberry pi;mv