How Copy entire directory structure?

Hello

I want to copy NAS to Google TeamDrive (deploy)
I want keep structure of NAS.

rclone-v1.37-windows-386\Config\GenAccountMr_API.conf copy “Z:\5 WORK” Rclone_M_API:“Deploy”
rclone-v1.37-windows-386\Config\GenAccountMr_API.conf copy “Z:\6 DATA” Rclone_M_API:“Deploy”

result :

no subdirectory structure.

how keep structure ?

Not sure I understand.

Perhaps this is what you want?

rclone copy "Z:\5 WORK" Rclone_M_API:"Deploy/5 WORK"

Thank i Have the structure. (90%)

but I have

deploy\5 WORK
deploy\6 DATA”

In Team drive I have as much folder “deploy” as command line.

In dfs I have deploy, deploy (1), deploy (2)…

How get deploy\5 WORK
\6 DATA

not deploy\5 WORK
deploy (1)\6 DATA ?

sorry for my poor english :wink:

If you use the command line

rclone copy "Z:\source" remote:"dest"

You will get the contents of Z:\source in a directory called dest.

If you use the command line

rclone copy "Z:\source" remote:

You will get the contents of Z:\source in the root directory of the remote

If you use the command line

rclone copy "Z:\source" remote:source

You will get the contents of Z:\source in a directory called source.

Is that helpful?

4 Likes

It’s OK for me

Thanks for your help

1 Like