CLI / oroc update extract

oroc update extract

Extract an update tar archive into a destination directory.

Usage#

oroc update extract --bundle=<bundle.tar> --dest=<dir> [options]

Options#

Option Description
--bundle=<bundle.tar> path to the tar archive to extract
--dest=<dir> destination directory to extract files into (created if missing)
--log-file=<path> mirror logs to a JSON file
-h, --help show help

Notes#

The extractor rejects absolute paths and any paths containing ".." or ':' to avoid directory traversal.

Special tar entries (symlinks, devices, etc.) are ignored; regular files and directories are restored.

Examples#

oroc update extract --bundle app-1.0.0.tar --dest ./update-staging

extract the contents of app-1.0.0.tar into ./update-staging

Source repository · Edit this page · View Markdown

Quick links

Type to search across the site. Use the up and down arrow keys to choose a result, Enter to open it, and Escape to close.