It is skipping the file (executing next;) because the file does not
exist (-e is not true).  Is your path setup correctly?


On Fri, 10 Dec 2004 12:23:58 -0500 (GMT-05:00), Domenic Ravita
<[EMAIL PROTECTED]> wrote:
> I've tried to execute Dale's script but so far have not had success. I only 
> receive this output:
> 
> Done RM
> Skipping /video/recordings/1068_2004-11-29 10:00:00_2004-11-29 10:30:00.nuv
> Skipping /video/recordings/1068_2004-11-30 10:00:00_2004-11-30 10:30:00.nuv
> 
> Then the script exits, returning me to the command prompt.  The 
> "/video/recordings/pretty" dir is created but no files appear there. So, 
> naturally I'm looking closely at the following line to determine why the 
> script seems to exit here:
> 
> do { print "Skipping $mythpath/$ofn\n"; next } unless -e "$mythpath/$ofn";
> 
> I don't understand what the "unless" is checking for. Can anybody out there 
> explain to me why my script exits without creating the "pretty" files? By the 
> way, here is a partial directory listing for my /video/recordings directory:
> 
> total 44643712
> drwxr-xr-x  3 root root       4096 Dec 10 12:00 .
> drwxr-xr-x  5 root root       4096 Nov 29 18:59 ..
> -rwxr-xr-x  1 root root 1166919616 Nov 29 10:30 
> 1068_20041129100000_20041129103000.nuv
> -rwxr-xr-x  1 root root      37823 Dec  8 00:17 
> 1068_20041129100000_20041129103000.nuv.png
> -rwxr-xr-x  1 root root 1165539264 Nov 30 10:30 
> 1068_20041130100000_20041130103000.nuv
> -rwxr-xr-x  1 root root      36676 Dec  8 02:08 
> 1068_20041130100000_20041130103000.nuv.png
> 
> Thanks, Domenic
> 
> 
> _______________________________________________
> mythtv-users mailing list
> [EMAIL PROTECTED]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> 


-- 

Jesse Perkins
[EMAIL PROTECTED]
http://jperkins.homeip.net
_______________________________________________
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to