From 24458886a38bb581554278bdb448994d856705c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 29 Apr 2016 16:13:43 +0200 Subject: Makefile: add addorphans --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7edebe3..640bf9a 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,9 @@ check: ## make download should be run first reversecheck: ## check for orphan files in directory ls music/* | xargs -n1 bin/checkMissingLink +addorphans: ## add orphan files to links + ls music/* | xargs -n1 bin/checkMissingLink | sed 's,.*\(.\{11\}\)\.ogg,http://www.youtube.com/watch?v=\1,' | xargs -n1 youtplaylist >> links + checkmp3: ## check for missing songs checkmp3: ## make download should be run first cat links | musicDir=./mp3 xargs -n1 bin/checkMissingmp3 -- cgit v1.2.3