sxcpy - copy or concatenate files or transform file formats
sxcpy.py file1 [ file2 [ file...]]] outfile
- filename or a list of filenames that are to be processed. Filename format is raw file name (e.g. "infile1.hdf"), DB object ("bdb:infile1"), but can be a space-delimited list of filenames ("test1.hdf test2.hdf") or DB objects. Wildcards ("image*.hdf") only works for raw filenames, while DB objects will have to be specified explicitly.
- the output object. Again, this can be raw filename or DB object.
sxcpy can be used for conversion or copying images. Images can be converted from or to HDF or bdb format, or images can be copied from multiple images into a compound one, combining several stacks into one. Since the last arguments is taken to be the target file, care is needed in order not to overwrite a source file instead (similar to cp on Linux, for instance).
Author / Maintainer
Changes to applications.cpy() to allow lists: Justus Loerke
category 1:: APPLICATIONS
- works for me, tested combinations of images. Globbing / wildcards processing relies on shell wildcards and may be unstable for other OSes.