Compare

cp vs rsync

When a simple local copy is enough and when rsync is worth the extra syntax.

`cp` is great for straightforward local copies. rsync becomes more valuable when you need synchronization behavior, incremental transfer logic, or richer filtering.

Use cp When

You want a simple local copy and do not need sync semantics.

You are doing one-off file or directory duplication on the same machine.

Use rsync When

You need repeatable directory sync with exclusions or deletion rules.

You want to preserve metadata carefully or transfer across machines later using the same workflow.

Rule of Thumb

cp duplicates. rsync keeps destinations in sync.

Want the short version? Browse the compact sheet views and save the commands you use most into a Cheatbook.