Re: program fails to write some entries in log

2008-07-10 Thread icarus
On Jul 10, 8:36 am, [EMAIL PROTECTED] (John W. Krahn) wrote: > icarus wrote: > > what this does: it classifies a file based on its modification date. > > > example: xfile1 is dated July 9, 2008. If it doesn't exist, the > > program creates a > > directory structure 2008/July/09 and places xfile1 t

Re: program fails to write some entries in log

2008-07-10 Thread Rob Dixon
John W. Krahn wrote: > Rob Dixon wrote: >> John W. Krahn wrote: >>> #extract year, month, day when $xfile was last modified >>> # eg 2008/July/9 >>> my $dir = strftime '%Y/%b/%-d', localtime( ( lstat $xfile )[9] ) >> I hoped that was what I was looking for, but the forma

Re: program fails to write some entries in log

2008-07-10 Thread John W. Krahn
Rob Dixon wrote: John W. Krahn wrote: #extract year, month, day when $xfile was last modified # eg 2008/July/9 my $dir = strftime '%Y/%b/%-d', localtime( ( lstat $xfile )[9] ) I hoped that was what I was looking for, but the format %- creates nothing and the 'd' is s

Re: program fails to write some entries in log

2008-07-10 Thread Rob Dixon
John W. Krahn wrote: > > #extract year, month, day when $xfile was last modified > # eg 2008/July/9 > my $dir = strftime '%Y/%b/%-d', localtime( ( lstat $xfile )[9] ) I hoped that was what I was looking for, but the format %- creates nothing and the 'd' is simply. >

Re: program fails to write some entries in log

2008-07-10 Thread John W. Krahn
icarus wrote: what this does: it classifies a file based on its modification date. example: xfile1 is dated July 9, 2008. If it doesn't exist, the program creates a directory structure 2008/July/09 and places xfile1 there. Then it creates a log with the steps done. So...in the system the resul

Re: program fails to write some entries in log

2008-07-10 Thread Rob Dixon
icarus wrote: > what this does: it classifies a file based on its modification date. > > example: xfile1 is dated July 9, 2008. If it doesn't exist, the > program creates a > directory structure 2008/July/09 and places xfile1 there. > Then it creates a log with the steps done. > > So...in the s