Project

General

Profile

splitmon with sequence of files running from mid month to mid month

Added by Ian MacKenzie over 10 years ago

Hi,
I have ten annual files each containing daily data running from, say,
Dec 16, 2004 to Dec 15, 2005. I'd like to use splitmon within a bash
script to split these annual files into individual files for each year
and month, i.e, create 12 individual monthly files for each
year. However, when I run splitmon on all the annual files
consecutively I get a file containing data for the first half of
december which is then overwritten by a new file with data for the
second half of december. Is there any way to make splitmon append the
new times for a particular month if there is already an exiting file
for the same month?

Ian


Replies (1)

RE: splitmon with sequence of files running from mid month to mid month - Added by Uwe Schulzweida over 10 years ago

Hi Ian,

There is no way to append the new times to an exiting file, sorry.

Cheers,
Uwe

    (1-1/1)