Browse the docs

Unzip an archive

Expands a zip into a folder, next to it by default.

Unarchive path

Details #

Expands a zip the way Finder's double-click does.

Parameters #

ParameterTypeRequiredValuesWhat it does
deleteOriginalany valueMove the zip to the Trash afterwards.
destinationtext
intotextThe variable that receives the folder.
pathtextThe zip. Optional when a file trigger fired.
sourcetext
totextThe folder to expand into. The zip's own folder by default.

Every step also accepts label, onFailure, timeout and dryRunSafe.

Examples #

Unzip an archive
Do
  1. Unarchive “photos.zip”
Open in Switchboard to try it

Gotchas #

  • Only zip files are expanded; other archive types need a script or an app.

  • In a dry run it changes nothing and says what it would do.

See also #

Zip a file or folder, Move or sort a file