search for: attach_line

Displaying 1 result from an estimated 1 matches for "attach_line".

2015 Mar 04
0
Rebuilding SIS attachment links from log
...G" = 1 ]; then echo "Skipping non-relevant log line. $ERR" fi continue fi # Remove prefacing details from log line - find start of attachment path within log line # This is a greedy match - so the second attachment path is returned along with the trailing info ATTACH_LINE_FILTER="s|.*$ATTACHMENT_STORAGE_BASE||" ATTACH_LINE=$(echo "$ERR" | sed "$ATTACH_LINE_FILTER") # Now extract the aa/bb/ prefix, the base attachment file name, and user hash CATEGORY_PATH="${ATTACH_LINE:1:5}" BASE_HASH="${ATTACH_LINE:7:40...