fsl.utils.imcp
This module contains functions for moving/copying NIFIT image files.
| Copy the given  | |
| Move the specified  | 
- fsl.utils.imcp.imcp(src, dest, overwrite=False, useDefaultExt=False, move=False)[source]
- Copy the given - srcfile to destination- dest.- A - fsl.utils.path.PathErroris raised if anything goes wrong.- Parameters:
- src – Path to copy. If - allowedExtsis provided, the file extension can be omitted.
- dest – Destination path. Can be an incomplete file specification (i.e. without the extension), or a directory. 
- overwrite – If - Truethis function will overwrite files that already exist. Defaults to- False.
- useDefaultExt – Defaults to - False. If- True, the destination file type will be set according to the default file type, specified by- defaultOutputType(). If the source file does not have the same type as the default extension, it will be converted. If- False, the source file type is used, and the destination file type (if specified) is ignored.
- move – If - True, the files are moved, instead of being copied. See- immv().