search for: diryear

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

Did you mean: dirver
2003 Mar 12
0
can't delete older file/directory links on another local partition after `snapshot' type backup script
...e variables $year=(localtime)[5]+1900; # portable date functions $month=('jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec')[(localtime)[4]]; $day=(localtime)[3]; $diryear=$archivedir.'/old'.$year; $dirmonth=$diryear.'/old'.$month.$year; $dirday=$dirmonth.'/old'.$day.$month.$year; # loop through all required directories up to final checking and creating if necessary # change directory permissions if (!(-d $archivedir)) {print LOG &...