fs.move¶
Moving files from one filesystem to another.
Functions for moving files between filesystems.
-
fs.move.
move_dir
(src_fs, src_path, dst_fs, dst_path)¶ Move a directory from one filesystem to another.
Parameters: - src_fs (FS URL or instance) – Source filesystem.
- src_path (str) – A path to a directory on
src_fs
. - dst_fs (FS URL or instance) – Destination filesystem.
- dst_path (str) – A path to a directory on
dst_fs
.
-
fs.move.
move_file
(src_fs, src_path, dst_fs, dst_path)¶ Move a file from one filesystem to another.
Parameters: - src_fs (FS URL or instance) – Source filesystem.
- src_path (str) – Path to a file on
src_fs
. - dst_fs (str) – Destination filesystem.
- dst_fs – Path to a file on
dst_fs
.
-
fs.move.
move_fs
(src_fs, dst_fs)¶ Move the contents of a filesystem to another filesystem.
Parameters: - src_fs (FS URL or instance) – Source filesystem.
- dst_fs (FS URL or instance) – Destination filesystem.