The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

scanshare - manipulate ecopy USERDIRS.TXT file for scanner management

DESCRIPTION

This is a cli interface to Device::ScanShare.

OPTIONS

  -a add/this/dir
  -l "label for this dir"
  -d delete/this/dir
  -s view all USERDIRS.TXT entries
  -v version
  -h help

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: /srv/www/htdocs-devel/dms/doc/USERDIRS.TXT
        default_host: Dyer05

Default host is when you make an entry, the USERDIRS.TXT file needs it Formatted for YAML

SEE ALSO

Device::ScanShare YAML

AUTHOR

Leo Charre leocharre at cpan dot org