NAME
scanshare - manipulate ecopy USERDIRS.TXT file for scanner management
DESCRIPTION
This is a cli interface to Device::ScanShare. Note that after making changes, you must
OPTIONS
-s view all USERDIRS.TXT entries
-v version and exit
-d debug
-h help
-a path dir to add
-l string label for this dir to add
-D path delete this dir from USERDIRS.TXT
USAGE EXAMPLES
EXAMPLE 1
imagine we want to add sfarrow to the list of people that come up in the scanner, make sure userfiles/sfarrow/incoming exists
# scanshare -a userfiles/sfarrow/incoming -l "Samantha Farrow"
EXAMPLE 2
to delete the above entry from USERDIRS.TXT:
# scanshare -D userfiles/sfarrow/incoming
NOTES
To add a new path, it must reside relative to where USERDIRS.TXT resides. if USERDIRS.TXT is in /var/this/USERDIRS.TXT, then the above entry must be in /var/this/userfiles/sfarrow/incoming
To change this, edit /etc/scanshare.conf
/etc/scanshare.conf
---
userdirs_abs_path: /var/doc/USERDIRS.TXT
default_host: Dyer04
server: '192.168.0.145'
Default host is when you make an entry, the USERDIRS.TXT file needs it Formatted for YAML
SEE ALSO
Device::ScanShare - parent package. YAML
AUTHOR
Leo Charre leocharre at cpan dot org
COPYRIGHT
Copyright (c) 2009 Leo Charre. All rights reserved.
LICENSE
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".
DISCLAIMER
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the "GNU General Public License" for more details.