search for: perl5opt

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

2014 Aug 05
1
was code added to detect or die on sighup recently?
...et such an error... Odd... The snaphome script is designed to run the snapper script (which calls rsync) and send it's log to a file and allow it to be automatically monitored... #!/bin/bash : {HOME:-/home/law} declare -i output_wanted=1 export ld=$HOME/var/log PATH=$HOME/bin:$PATH export PERL5OPT='-Mutf8 -CSA -I/home/law/bin/lib' function snaprun () { cd "$ld" && { if [[ -e snap.log ]]; then mv "snap.log" "snap.log-$(ShortDateTime)" #7z a snap.log.7z snap.log-[0-9]*.[ fi declare cmd="nice -19 ionice -c3 snapper.pl...