The specified binfile must be a valid old format bin file. The specified newrun is the name of the run that will be created to store the converted data. The file name suffix .frm is appended to newrun, if not already present. Note that the program does not check to see if a run of that name already exists - it will be silently overwritten.
The conversion involves writing a new run header, based on the data in the bin file header, and writing out one frame for each bin read. The trace from the bin is stored as trace # 0 in the frame, and the bin's sweep count is recorded in the frame header.
If the binfile was one created by the old wtsum(1), a frame description file will be created for the newrun (with the .frd suffix). Each bin's origin information will be written as a frame description in this new file.
If the run description from the run used to produce the old binfile is accessible, it will be written out as the run description for the newrun (with the .txt suffix).