• 3 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • It’s a bit long for a one-liner, but this should work.

    for f in /media/johann/5461-000B/DCIM/100MEDIA/*.AVI; do num=${f%.AVI}; num=${num##*IMAG}; ffmpeg -i "$f" -ss 00:00:00 -t 00:00:20 "~/Public/240321/240321_$num.avi"; rm "$f"; done

    This num=${f%.AVI}; num=${num##*IMAG}; extracts the number from the video filename. To make sure it’s not deleting anything it shouldn’t, you also might want to run it with rm -i "$f"











  • The monthly series doesn’t quite capture what has been happening this year.

    North Atlantic Sea Surface Temperature.

    Since March of this year, the North Atlantic has been consistantly half a degree above last year and a full degree above the 1982-2011 average temperature. Temperature records have been broken every day since March.

    We are in completely new territory now. Normally El Niño increases wind shear in the Atlantic, which makes hurricane formation more difficult. This increase in sea surface temperature may offset that. Things are going to be unpredictable.