diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-09 16:34:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-09 16:34:40 +0000 |
commit | bcad40a05ab2dc2a341a3227e30b96668bce4500 (patch) | |
tree | 6fca27588d53a1b24705bd2834e9e643bb729bd1 /bin/filesort.pl | |
download | ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.gz ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.bz2 ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.zip |
New Import
Diffstat (limited to 'bin/filesort.pl')
-rwxr-xr-x | bin/filesort.pl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bin/filesort.pl b/bin/filesort.pl new file mode 100755 index 00000000..a3347ab6 --- /dev/null +++ b/bin/filesort.pl @@ -0,0 +1,29 @@ +#!/usr/bin/perl -w +# +# Sorts your MP3s into directories based on the sort pattern specified +# in ampache + +use FindBind qw($Bin); +require "$Bin/init"; + +use Data::Dumper; +use Getopt::Long; + +Getopt::Long::Configure('bundling','no_ignore_case'); +GetOptions + ("h|help" => \$usage, + "t|test" => \$pretend, + "a|all" => \$all, + "s|sort" => \$sort, + "c|clean" => \$clean, + "v|verbose" => \$verbose); + +if ($help) { + usage(); +} + + +# +# Pull in Data from Ampache +# + |