diff options
| author | lassulus <lass@aidsballs.de> | 2016-05-22 21:19:50 +0200 |
|---|---|---|
| committer | lassulus <lass@aidsballs.de> | 2016-05-22 21:19:50 +0200 |
| commit | 23daabe3cbade5bdff3667c4df157c0480b307e8 (patch) | |
| tree | dcce333c1de70e288413159abc0584c61bb994d9 | |
| parent | 612d898c6316dd903c224da663840f7a671532ce (diff) | |
Makefile: add deleteorphans
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ reversecheck: ## check for orphan files in directory 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 +deleteorphans: + ls music/* | xargs -n1 bin/checkMissingLink | xargs rm + checkmp3: ## check for missing songs checkmp3: ## make download should be run first cat links | musicDir=./mp3 xargs -n1 bin/checkMissingmp3 |
