linux bash script to create time lapse of boats