Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Step 2 of creating an mp4
(array=($(ls /home/pi/Documents/python_projects/*.h264)); for index in ${!array[@]}; do if [ "$index" -eq 0 ]; then echo -n " -add ${array[index]}"; else echo -n " -cat ${array[index]}"; fi; done;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment