From c9c103c0a751dcbec723ea19c255acf6764396c9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 22 Aug 2015 17:30:04 +0200 Subject: use parallel to download files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cd72b58..faeec9a 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ help: ## Show this help. @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' download: ## download all links to ./music - cat links | target=./music xargs -n 1 bin/yout2ogg + cat links | parallel -j5 -k "target=./music bin/yout2ogg" add: ##make add url="http://youtube..." add: ##to add link to ./links -- cgit v1.2.3