Jump to content

Rsync: Difference between revisions

367 bytes added ,  13 June 2020
No edit summary
Line 19: Line 19:
* <code>-X</code> preserve extended attributes
* <code>-X</code> preserve extended attributes
* <code>-q</code> quiet
* <code>-q</code> quiet
==Exclude==
Add <code>--exclude</code> to your call.
;Notes
* Exclude typically uses a pattern. If you want to exclude from the root of the transfer, prepend <code>/</code>.
*: E.g <pre>rclone --exclude "/project/node_modules" project /some/other/dir/</pre>
* Add <code>--exclude</code> before <code>--stats</code> and <code>--delete</code> if you want it to work.