summaryrefslogtreecommitdiff
path: root/flt
diff options
context:
space:
mode:
Diffstat (limited to 'flt')
-rwxr-xr-xflt2
1 files changed, 1 insertions, 1 deletions
diff --git a/flt b/flt
index 88797be..24b4cd0 100755
--- a/flt
+++ b/flt
@@ -2,7 +2,7 @@
# Filter out existing tracks
-tmp=/tmp/flt.$RANDOM
+tmp=`mktemp /tmp/flt.XXXXXX`
find "$@" -type f -name '*.mp3' |
xargs -I {} basename -s.mp3 "{}" |
sed 's/\(.*\) - \(.*\)/\2\t\1/' > $tmp