All apps/ditto

ditto

ditto

Copy directory hierarchies and create or extract archives (macOS).

Runs as ditto|macOS

Command form

ai-draft · 3 tasks · 8 fields

Copy a directory tree, or create/extract a CPIO or zip archive. Resource-fork, ACL and HFS compression switches are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ditto
Copy or archiveExample values, fixed in this page — nothing here reaches a terminal
Basic
Source*
any
Destination*
any
Advanced
Print each source directory copied
-v
Do not cross device boundaries
-X
TasksEach one presets the form for one job
Copy a tree
sourcesdestverboseone_device
Create a zip archive
sourcesdestcreatezipkeep_parent
Extract a zip archive
sourcesdestextractzip
ParametersOnly these flags are editable in the form
Source
path · positional 0 · repeatable
Destination
path · positional 1
Create an archive
boolean
-c
Extract archive sources
boolean
-x
Use PKZip instead of CPIO
boolean
-k
Embed parent directory name in archive
boolean
--keepParent
Print each source directory copied
boolean
-v
Do not cross device boundaries
boolean
-X
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed ditto against its version. A form that does not match your version is not offered.