I'm trying to combine these two commands:
while :;do screencapture -x ~/Desktop/$(date +%y%m%d%H%M%S).png;sleep 300;done
and
imagesnap -t 300
I want to make a screenshot and a webcam photo at the same time every 5 minutes. It's my first time using the terminal, so I'm very new to this. It's probably very simple but I just can't figure it out.
Thank you for helping!