Name
sxcpy - copy or concatenate files or transform file formats
Usage
sxcpy.py file1 [ file2 [ file...]]] outfile
Input
- file1
- 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.
Output
- outfile
- the output object. Again, this can be raw filename or DB object.
Options
- None
Description
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).
Method
Reference
Author / Maintainer
Changes to applications.cpy() to allow lists: Justus Loerke
Keywords
category 1:: APPLICATIONS
Files
sxcpy.py, applications.cpy()
See also
Maturity
- beta
- works for me, tested combinations of images. Globbing / wildcards processing relies on shell wildcards and may be unstable for other OSes.
Bugs
Probably.