Skip to content

Instantly share code, notes, and snippets.

@coltenkrauter
Last active September 21, 2023 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coltenkrauter/284b58de7df7e2b27ac0e61a151be29d to your computer and use it in GitHub Desktop.
Save coltenkrauter/284b58de7df7e2b27ac0e61a151be29d to your computer and use it in GitHub Desktop.
Extract Google Takeout Files

Extract Google Takeout Files

tmux new-session will create a tmux session will will continue to run even after the terminal has been closed (so long as the system is still powered on). pv -p is the pipe-viewer command that will pipe the zipped files into the next command and the -p flag will display a progress bar as things are unzipped. tar xzif - will take the output of the previous command (thanks to the - stdin dash) and unzip the files.

tmux new-session 'pv -p  *.tgz | tar xzif -'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment