Allows CSH members to scan documents to a central server and pick them up from any computer. Documents will only remain on the server for 30 minutes before being automatically deleted via cron, and users will be able to delete their documents on demand as soon as they've downloaded them.
Thanks to wwwslinger for the Perl script that makes this possible.
This application requires:
- Perl
- Web server with PHP support
- ImageMagik (for PDF conversion)
- start-stop-daemon (for the included init script)
As written, the webapp and scripts expect the following paths:
- Files installed to
/var/csh-scan
- Scans are stored in
/tmp/scans
If you want to use different paths, you must change the paths defined in the PHP files, init script, and cron script.
- Change to the installation directory:
cd /var
- Clone the repository:
git clone https://github.com/stevenmirabito/SCANdal.git
- Rename the folder:
mv SCANdal csh-scan
- Change directory into the installed folder:
cd csh-scan
- Make the scripts executable:
chmod +x dell1600n-net-scan* cron.sh
- Move the init script to /etc/init.d:
mv dell1600n-net-scan /etc/init.d/
- Change ownership of the init script:
chown root:root /etc/init.d/dell1600n-net-scan
- Set the init script to automatically run at boot:
chkconfig dell1600n-net-scan defaults
- Start the service:
service dell1600n-net-scan start
- Add the following line to your crontab (feel free to change the time if you want it to run more/less often, default is 5 minutes):
*/5 * * * * /var/csh-scan/cron.sh
- Configure your webserver to point to
/etc/csh-scan/www
- Make a test scan to make sure everything works