2 # Ian Beckwith <ianb@erislabs.net>
5 use lib '/home/ianb/projects/id3fs/id3fs/lib';
7 use Getopt::Long qw(Configure);
11 $me=($0=~/(?:.*\/)?(.*)/)[0];
16 Configure(qw(bundling no_ignore_case));
17 my $optret=GetOptions(
18 "verbose|v" => \$verbose,
19 "quiet|q" => sub { $verbose=0; },
23 usage() if(scalar(@ARGV) != 2 || !$optret || $help);
28 my $db=ID3FS::DB->new($source, 0, $me);
29 my $fuse=ID3FS::Fuse->new($db, $source, $mountpoint, $verbose);
34 die("Usage: $me [-v] [-q] [-h] [--] file...\n".
36 " -q\tQuiet (default)\n".
38 " --\tEnd of options\n");
49 B<> [I<-v>] [I<-q>] [I<-h>] [I<file>...]
59 Enable verbose operation.
63 Quiet (no output). This is the default.
67 Show a short help message.
83 None known. Please report any found to ianb@erislabs.net
89 Ian Beckwith <ianb@erislabs.net>
93 The latest version can be found at:
95 B<http://erislabs.net/ianb/projects/id3fs/>
99 Copyright 2010 Ian Beckwith <ianb@erislabs.net>
101 This program is free software: you can redistribute it and/or modify
102 it under the terms of the GNU General Public License as published by
103 the Free Software Foundation; either version 3 of the License, or
104 (at your option) any later version.
106 This program is distributed in the hope that it will be useful,
107 but WITHOUT ANY WARRANTY; without even the implied warranty of
108 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
109 GNU General Public License for more details.
111 You should have received a copy of the GNU General Public License
112 along with this program. If not, see <http://www.gnu.org/licenses/>.