eelbrain.pipeline.MneExperiment.copy

MneExperiment.copy(self, temp, dst_root=None, inclusive=False, confirm=False, overwrite=None, **state)

Copy files to a different root folder

Parameters:
temp : str

Name of the path template for which to find files.

dst_root : str

Path to the root to which the files should be moved. If the target is the experiment’s root directory, specify root as the source root and leave dst_root unspecified.

inclusive : bool

Treat all unspecified fields as * (default False).

confirm : bool

Skip asking for confirmation before copying the files.

overwrite : bool

True to overwrite target files if they already exist. False to quietly keep exising files.

See also

glob
Find all files matching a template.
move
Move files.
rm
Delete files.
make_copy
Copy a file by substituting a field

Notes

State parameters can include an asterisk (‘*’) to match multiple files.