DEV Community

Halffunction
Halffunction

Posted on

2

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 ;)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up