search for: link_creat

Displaying 2 results from an estimated 2 matches for "link_creat".

Did you mean: link_created
2015 Mar 04
0
Rebuilding SIS attachment links from log
...ot;About to execute command: ln $LINK_LINE" fi # If test mode, do nothing if [ "$TESTMODE" = 1 ]; then continue fi # There's probably more tests I could/should do - but I don't know how # So...if we're not in test mode...time to do it to it. LINK_CREATED=$(ln $LINK_LINE) if [ "$VERBOSE" = 1 ]; then echo "Repair result for $ATTACH_TARGET - $LINK_CREATED" fi done < "$LOGFILE"
2015 Mar 03
3
Rebuilding SIS attachment links from log
This seems simple enough...I'm just not script wizard. If someone can throw together a starting point I can test and tweak it from there. It seems to me: 1. Read /var/mail/mail.err or specified logfile 2. For each "failed: read(/var/mail/attachments/aa/bb/attachmentHash-userHash" line, a. Confirm /var/mail/attachments/aa/bb/hashes/attachmentHash exists i. If