Skip to content

Instantly share code, notes, and snippets.

@v-pravin
Last active October 23, 2018 17:08
Show Gist options
  • Save v-pravin/a7ded131f6dd792d1d0c62706bf2b8fd to your computer and use it in GitHub Desktop.
Save v-pravin/a7ded131f6dd792d1d0c62706bf2b8fd to your computer and use it in GitHub Desktop.
1. Extract a tar.gz file in one go, 7z x wordpress-4.9.8.tar.gz -so | 7z x -aoa -si -ttar -o..\site\dist
x - extract mode
-so - flush into standard output
-aoa - overwrite all files, no prompt
-t - type of archive (tar here)
-si - consume from standard input
Source
- https://sevenzip.osdn.jp/chm/cmdline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment