in reply to Re^4: Epoch time conversion script
in thread Epoch time conversion script

One liner (Using Windows style quotes. Change to Single quote for linux):
perl -pe "m/^#\+(\d+)/ and $_=scalar localtime $1" InputFileName > Ou +tputFileName

             All great truths begin as blasphemies.
                   ― George Bernard Shaw, writer, Nobel laureate (1856-1950)

Replies are listed 'Best First'.
Re^6: Epoch time conversion script
by hedkandi (Initiate) on Apr 05, 2012 at 07:05 UTC

    Hi netwallah You're a genius! This totally solved my issue. Im going to add this to cron rightaway! Thanks!

Re^6: Epoch time conversion script
by hedkandi (Initiate) on Apr 06, 2012 at 03:33 UTC

    Ok I should probably add also that it works for C shell users only! But thank you nevertheless!