Last active
July 3, 2019 03:51
-
-
Save enamoria/5a8e631b81dee30840a2e41fc5fa6d64 to your computer and use it in GitHub Desktop.
Sweet bashscript o' mine
This file contains hidden or 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
# copy a list of file (from file_id_list) from src to dest | |
cat file_id_list | awk '{system("cp " $1 " <dest_dir")}' | |
# total time of audio file within a directory | |
soxi -D *.wav | awk '{sum+=$1} END {print sum}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment