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];
17 Configure(qw(bundling no_ignore_case));
18 my $optret=GetOptions(
19 "verbose|v" => \$verbose,
20 "quiet|q" => sub { $verbose=0; },
22 "database|db=s" => \$dbpath,
25 usage() if(scalar(@ARGV) != 2 || !$optret || $help);
30 my $db=ID3FS::DB->new($me, $dbpath, $source);
31 my $fuse=ID3FS::Fuse->new($db, $source, $mountpoint, $verbose);
36 die("Usage: $me [-v] [-q] [-h] [--] file...\n".
38 " -q\tQuiet (default)\n".
40 " --\tEnd of options\n");
51 B<> [I<-v>] [I<-q>] [I<-h>] [I<file>...]
61 Enable verbose operation.
65 Quiet (no output). This is the default.
69 Show a short help message.
85 None known. Please report any found to ianb@erislabs.net
91 Ian Beckwith <ianb@erislabs.net>
95 The latest version can be found at:
97 B<http://erislabs.net/ianb/projects/id3fs/>
101 Copyright 2010 Ian Beckwith <ianb@erislabs.net>
103 This program is free software: you can redistribute it and/or modify
104 it under the terms of the GNU General Public License as published by
105 the Free Software Foundation; either version 3 of the License, or
106 (at your option) any later version.
108 This program is distributed in the hope that it will be useful,
109 but WITHOUT ANY WARRANTY; without even the implied warranty of
110 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
111 GNU General Public License for more details.
113 You should have received a copy of the GNU General Public License
114 along with this program. If not, see <http://www.gnu.org/licenses/>.