From 8b7b28a7c94dc053bc88f89191055a7552447068 Mon Sep 17 00:00:00 2001 From: "Christian G. Warden" Date: Wed, 14 Feb 2024 11:29:28 -0600 Subject: [PATCH] Copy Relative Paths Support copying relative local paths recursively to S3. --- cmd_cp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd_cp.go b/cmd_cp.go index 60ba2ab..f87a7af 100644 --- a/cmd_cp.go +++ b/cmd_cp.go @@ -113,7 +113,7 @@ func copyCore(config *Config, src, dst *FileURI) error { } dst_uri, _ := FileURINew(dst_path) dst_uri.Scheme = dst.Scheme - src_uri, _ := FileURINew("file://" + path) + src_uri, _ := FileURINew(path) return copyFile(config, src_uri, dst_uri, true) })