On 09/29/2011 03:13 AM, David Haller wrote:
Actually, he probably wants to use:
printf "Tape: %s -- \n" "$tapect">> $tmpapp date '+Capture Started: %b %e %T' | tee -a $tmpfn
:) Lazy really! I just haven't gotten around to adding the parse that grabs the beginning date and ending date from the filenames output by dvgrab... I've written the parse, just haven't plugged it into the script yet :) What I do with the script is just output "Tape: # -- " and then come back and just confirm the log and add mm/dd/yyyy - mm/dd/yyyy the old way (with the keyboard :) What I was going to do is take the dvtmp.log containing (e.g.): "dcrv-2003.07.27_18-26-46.dv fr-MiB tc-timecode d-date t-2003.07.27 18:28:12 <snip> "dcrv-2003.09.12_16-30-27.dv fr-MiB tc-timecode d-date t-2011.09.28 15:58:48 and grab the date from the filename part of the string (can't use the date at end of line..) That's in the todo pile, but for now, fingers work :) Thank you David and Anton for your help. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org