-
-
Save WooodHead/5500a0d8e421a9ecdbab0c4a61569288 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