From 4aadaf19043fe8f0ee6872a78c305fab339d25a5 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 6 Jul 2023 11:58:05 +0200 Subject: [PATCH 1/4] Update cp help message to not require file scheme --- cmd/fs/cp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/fs/cp.go b/cmd/fs/cp.go index 399a1aea87..a832167118 100644 --- a/cmd/fs/cp.go +++ b/cmd/fs/cp.go @@ -132,8 +132,8 @@ var cpCmd = &cobra.Command{ Short: "Copy files and directories to and from DBFS.", Long: `Copy files to and from DBFS. - It is required that you specify the scheme "file" for local files and - "dbfs" for dbfs files. For example: file:/foo/bar, file:/c:/foo/bar or dbfs:/foo/bar. + For paths in DBFS it is required that you specify the dbfs scheme. + Example: dbfs:/foo/bar Recursively copying a directory will copy all files inside directory at SOURCE_PATH to the directory at TARGET_PATH. From d8aad49d8a0043570381ed34539c90ff2cae70d6 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 6 Jul 2023 12:17:09 +0200 Subject: [PATCH 2/4] - --- cmd/fs/cp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fs/cp.go b/cmd/fs/cp.go index a832167118..866b0e6e66 100644 --- a/cmd/fs/cp.go +++ b/cmd/fs/cp.go @@ -133,7 +133,7 @@ var cpCmd = &cobra.Command{ Long: `Copy files to and from DBFS. For paths in DBFS it is required that you specify the dbfs scheme. - Example: dbfs:/foo/bar + For example: dbfs:/foo/bar Recursively copying a directory will copy all files inside directory at SOURCE_PATH to the directory at TARGET_PATH. From f9f0b4c8e7835de272ab7fad4bb69efc4551ddce Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 6 Jul 2023 12:17:45 +0200 Subject: [PATCH 3/4] - --- cmd/fs/cp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fs/cp.go b/cmd/fs/cp.go index 866b0e6e66..1d7c82bcbb 100644 --- a/cmd/fs/cp.go +++ b/cmd/fs/cp.go @@ -132,7 +132,7 @@ var cpCmd = &cobra.Command{ Short: "Copy files and directories to and from DBFS.", Long: `Copy files to and from DBFS. - For paths in DBFS it is required that you specify the dbfs scheme. + For paths in DBFS it is required that you specify the "dbfs" scheme. For example: dbfs:/foo/bar Recursively copying a directory will copy all files inside directory From 2393f1fd113b29b298aae8489074000c77d2f966 Mon Sep 17 00:00:00 2001 From: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com> Date: Thu, 6 Jul 2023 12:20:31 +0200 Subject: [PATCH 4/4] Update cmd/fs/cp.go Co-authored-by: Pieter Noordhuis --- cmd/fs/cp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fs/cp.go b/cmd/fs/cp.go index 1d7c82bcbb..204d6c33c2 100644 --- a/cmd/fs/cp.go +++ b/cmd/fs/cp.go @@ -133,7 +133,7 @@ var cpCmd = &cobra.Command{ Long: `Copy files to and from DBFS. For paths in DBFS it is required that you specify the "dbfs" scheme. - For example: dbfs:/foo/bar + For example: dbfs:/foo/bar. Recursively copying a directory will copy all files inside directory at SOURCE_PATH to the directory at TARGET_PATH.