diff options
Diffstat (limited to 'flt')
-rwxr-xr-x | flt | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/bin/sh + +# Filter out existing tracks + +tmp=/tmp/flt.$RANDOM +find "$@" -type f -name '*.mp3' | +xargs -I {} basename -s.mp3 "{}" | +sed 's/\(.*\) - \(.*\)/\2\t\1/' > $tmp + +fgrep -vf $tmp +rm $tmp |