| |
- _build_cmdtuple(path, cmdtuples)
- # Helper for rmtree()
- copy(src, dst)
- Copy data and mode bits ("cp src dst").
- The destination may be a directory.
- copy2(src, dst)
- Copy data and all stat info ("cp -p src dst").
- The destination may be a directory.
- copyfile(src, dst)
- Copy data from src to dst
- copymode(src, dst)
- Copy mode bits from src to dst
- copystat(src, dst)
- Copy all stat info (mode bits, atime and mtime) from src to dst
- copytree(src, dst, symlinks=0)
- Recursively copy a directory tree using copy2().
- The destination directory must not already exist.
- Error are reported to standard output.
- If the optional symlinks flag is true, symbolic links in the
- source tree result in symbolic links in the destination tree; if
- it is false, the contents of the files pointed to by symbolic
- links are copied.
- XXX Consider this example code rather than the ultimate tool.
- rmtree(path, ignore_errors=0, onerror=None)
- Recursively delete a directory tree.
- If ignore_errors is set, errors are ignored; otherwise, if
- onerror is set, it is called to handle the error; otherwise, an
- exception is raised.
|