DEV Community

Halffunction
Halffunction

Posted on

How to copy multiple directories through rclone?

There is easy way transfer multiple directories.

rclone -v copy --include {dir1,dir2,dir3}/* remote-name:path/to/remote/file
Enter fullscreen mode Exit fullscreen mode

--exclude works as above

Top comments (1)

Collapse
 
anakimluke profile image
anakimluke

I think that * might not expand to dotfiles, though ;)