Multiple folder copy in one command

Windows 10, 64 bit
Google Drive

how would i do 2 copies in one command?
these are the 2 single line codes i would use

rclone copy "gdrive2:Folder1" "gdrive:total folder1" --drive-server-side-across-configs -P --ignore-existing

&

rclone copy "gdrive2:Folder2" "gdrive:total folder2" --drive-server-side-across-configs -P --ignore-existing

i have like 50 to do and it would be great if i could press and walk away
thanks

Hi, welcome to the forum!

If you could have the folder names on source and destination identical, filtering options would be the best solution.

You could achieve what you ask for with some simple scripting (batch, PowerShell etc). For example something like this should work in PowerShell (although I have not tested this exact command):

"Folder1", "Folder2" | ForEach-Object { rclone copy "gdrive2:${_}" "gdrive:total $($_.ToLower())" --drive-server-side-across-configs -P --ignore-existing }
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.