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 | |
# Run with: | |
# bash <(curl -sL "https://gist.githubusercontent.com/krasi-georgiev/1f167a2136bbce5824c6516d2777ef79/raw/cut_segments.sh") | |
shopt -s nullglob | |
### STEP 1: Select CSV file | |
csv_files=( *.csv ) | |
if [ ${#csv_files[@]} -eq 0 ]; then |
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 | |
# ================================================ echo "1) Convert videos (default)" | |
# | |
# Run directly from this gist: | |
# | |
# bash <(curl -sL https://gist.githubusercontent.com/krasi-georgiev/5f891acb246a36d475f0c5c451e658e9/raw/convert.sh) | |
# | |
# ================================================ |