You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command copies files and directories between local and/or remote storage. This uses the credentials in your system by default or can use the cloud authentication from Studio.
16
16
17
+
The command supports two main modes of operation:
18
+
19
+
- By default, the command operates directly with clouds using credentials in your system, supporting various copy scenarios between local and remote storage.
20
+
- When using `-s` or `--studio-cloud-auth` flag, the command uses credentials from Studio for cloud operations. This mode provides enhanced authentication and access control for cloud storage operations.
21
+
22
+
17
23
## Arguments
18
24
19
25
*`source_path` - Path to the source file or directory to copy
@@ -22,35 +28,20 @@ This command copies files and directories between local and/or remote storage. T
*`--team TEAM` - Team name to use the credentials from.
31
+
*`--team TEAM` - Team name to use the credentials from. (Default: from config)
26
32
*`-s`, `--studio-cloud-auth` - Use credentials from Studio for cloud operations (Default: False)
27
33
*`--update` - Update cached list of files for the source when downloading from cloud using local credentials.
28
34
*`-h`, `--help` - Show the help message and exit
29
35
*`-v`, `--verbose` - Be verbose
30
36
*`-q`, `--quiet` - Be quiet
31
37
32
-
## Copy Operations
33
-
34
-
The command supports two main modes of operation:
35
38
36
-
### Default Mode
37
-
By default, the command operates directly with clouds using credentials in ypur system, supporting various copy scenarios between local and remote storage.
38
-
39
-
### Studio Cloud Auth Mode
40
-
When using `-s` or `--studio-cloud-auth` flag, the command uses credentials from Studio for cloud operations. This mode provides enhanced authentication and access control for cloud storage operations.
41
-
42
-
## Supported Storage Protocols
39
+
## Notes
40
+
* When using Studio cloud auth mode, you must be authenticated with `datachain auth login` before using it
41
+
* The default mode operates directly with storage providers
43
42
44
-
The command supports the following storage protocols:
45
-
-**Local file system**: Direct paths (e.g., `/path/to/directory` or `./relative/path`)
This command moves files and directories within storage. The move operation is performed within the same bucket - you cannot move files between different buckets. The command supports both individual files and directories, with the `--recursive` flag required for moving directories.
14
+
This command moves files and directories within storage. The command supports both individual files and directories, with the `--recursive` flag required for moving directories.
15
15
16
16
## Arguments
17
17
@@ -21,7 +21,7 @@ This command moves files and directories within storage. The move operation is p
21
21
## Options
22
22
23
23
*`--recursive` - Move recursively
24
-
*`--team TEAM` - Team name to move storage contents from
24
+
*`--team TEAM` - Team name to use the credentials from. (Default: from config)
25
25
*`-s`, `--studio-cloud-auth` - Use credentials from Studio for cloud operations (Default: False)
26
26
*`-h`, `--help` - Show the help message and exit
27
27
*`-v`, `--verbose` - Be verbose
@@ -31,6 +31,11 @@ This command moves files and directories within storage. The move operation is p
31
31
32
32
The command supports moving files and directories within the same bucket:
33
33
34
+
## Notes
35
+
* When using Studio cloud auth mode, you must be authenticated with `datachain auth login` before using it
36
+
* The default mode operates directly with storage providers
37
+
***Warning**: This is a destructive operation. Always double-check the path before executing the command
0 commit comments