tech:documentation:exams:scanning
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tech:documentation:exams:scanning [2024/02/21 10:25] – kohofer | tech:documentation:exams:scanning [2024/03/07 15:34] (current) – kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Procedure to enable scanning of Exams/PIS etc ====== | ====== Procedure to enable scanning of Exams/PIS etc ====== | ||
- | Use the VM gutenberg.inf.unibz.it Ubuntu 20.04 LTS with samba version: Version 4.13.17-Ubuntu | + | Use the VM gutenberg.inf.unibz.it Ubuntu 20.04.6 LTS with samba version: Version 4.13.17-Ubuntu |
IMPORTANT | IMPORTANT | ||
Line 19: | Line 19: | ||
https:// | https:// | ||
+ | |||
+ | Check status of samba: | ||
+ | |||
+ | < | ||
+ | root@gutenberg: | ||
+ | |||
+ | Samba version 4.15.13-Ubuntu | ||
+ | PID | ||
+ | ---------------------------------------------------------------------------------------------------------------------------------------- | ||
+ | 3510511 skanners | ||
+ | |||
+ | Service | ||
+ | --------------------------------------------------------------------------------------------- | ||
+ | scans 3510511 10.7.88.144 | ||
+ | |||
+ | Locked files: | ||
+ | Pid User(ID) | ||
+ | -------------------------------------------------------------------------------------------------- | ||
+ | 3510511 | ||
+ | </ | ||
+ | |||
---- | ---- | ||
Line 87: | Line 108: | ||
*/2 7-19 * * MON-FRI | */2 7-19 * * MON-FRI | ||
+ | # remove all pdfs if the file: remove is found in / | ||
+ | */5 * * * * / | ||
</ | </ | ||
+ | |||
+ | To clean up all pdfs in /home/scans run the hidden command: **.cleanup.sh** | ||
+ | |||
+ | cat / | ||
+ | #!/bin/sh -x | ||
+ | | ||
+ | # Create file: " | ||
+ | # touch remove | ||
+ | # run the script to remove all pdf files in directory | ||
+ | # sh .cleanup.sh | ||
+ | if [ -f " | ||
+ | then | ||
+ | echo File " | ||
+ | rm -I / | ||
+ | fi | ||
+ | |||
+ | Run script! | ||
+ | |||
+ | cd /home/scans | ||
+ | sh .cleanup.sh | ||
+ | |||
+ | ===== Login from Windows Explorer ===== | ||
+ | |||
+ | Open Windows Explorer (Win+E) and enter into the path: \\gutenberg.inf.unibz.it\scans | ||
+ | |||
+ | When it asks for login information: | ||
+ | |||
+ | username: skanners\\ | ||
+ | password: Igloo# | ||
+ | |||
+ | |||
/data/www/wiki.inf.unibz.it/data/attic/tech/documentation/exams/scanning.1708507551.txt.gz · Last modified: 2024/02/21 10:25 by kohofer