tar / find / rsync command builder

← All tools

Three tabs, each a form that builds a real command with flag-by-flag explanations below. Copy when ready — settings sync to the URL.

~~~

tar options

Mode

Compression

Archive file

Paths to archive

One per line or comma-separated.

Extract to directory (-C)

Command

find options

Start path

Name mode

Name pattern

Type

Max depth

Size

Size unit

Modified time

Time filter

+7 days = changed MORE than 7 days ago. -7 = within the last week.

Action

Exec command (before {})

{} is replaced with each path. Ends with \; (one file per run) or + (batch).

Command

rsync options

Source

Destination

SSH port (-e)

Exclude patterns

One pattern per line.

Command

~~~

About this tool

tar, find, and rsync are powerful but easy to mistype. tar flag order matters. find's -mtime +7 means "older than seven days," which is the opposite of what many people assume. rsync treats./folder and ./folder/ differently — the trailing slash changes what gets copied.

This builder assembles real commands from forms and explains each flag below the output. Use rsync dry-run and find -print before destructive actions like -delete. Settings sync to the URL so you can share an exact command recipe.

~~~

Read more