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

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay