Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The comparison is quite detailed, so LCIO files will not be considered identical unless they are basically exact copies of each other.

concat

The concat command takes 2 or more input LCIO files and concatenates them together into a single output file.

No Format

usage: concat
 -f    List of input files, 1 per line.
 -i    Add an input file.
 -o    Set the name of the output file.

The following will concatenate together file1 and file2 into outputfile.

No Format

lcio concat -f file1.slcio -f file2.slcio -o outputfile

The concat command also accepts lists of files, with one file per line.

No Format

file1
file2
...

Supposing that the above was contained in a file called flist.txt, the concat command can read this file list and concatenate together all the files in the list.

No Format

lcio concat -i flist.txt -o outputfile