Last active
May 3, 2018 00:37
-
-
Save ryancheley/9e502a9f1ed94e29c4d684fa9a8c035a to your computer and use it in GitHub Desktop.
Step 2 of creating an mp4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
(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