Created
July 2, 2020 21:04
-
-
Save gmolveau/14804d54ad2ec0f18cf6bbfc661cb426 to your computer and use it in GitHub Desktop.
todo parallel commands
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
cat urls.txt | xargs youtube-mp4 {} | |
cat urls.txt | xargs zsh -c 'youtube-mp4 {}' | |
cat urls.txt | xargs $functions[youtube-mp4] {} | |
cat urls.txt | xargs zsh -c '$functions[youtube-mp4] {}' | |
cat urls.txt | parallel curl http://example.com/item/{}.tar ">" {}.tar | |
cat urls.txt | parallel youtube-mp4 {} | |
cat urls.txt | env_parallel youtube-mp4 {} | |
export -f youtube-mp4 | |
cat urls.txt | xargs youtube-mp4 {} | |
cat urls.txt | while read url; do youtube-mp4 $url; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment