Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Created December 18, 2019 18:19
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 xurizaemon/974ce1c5caaf97d0b3f800b6f2ca2ee0 to your computer and use it in GitHub Desktop.
Save xurizaemon/974ce1c5caaf97d0b3f800b6f2ca2ee0 to your computer and use it in GitHub Desktop.
foo/0000755015454201545420000000000013576466645013677 5ustar chrisburgesschrisburgessfoo/hello-2.txt0000644015454201545420000000001013576466645015671 0ustar chrisburgesschrisburgesshello 2
foo/hello-1.txt0000644015454201545420000000001013576466645015670 0ustar chrisburgesschrisburgesshello 1
foo/hello-3.txt0000644015454201545420000000001013576466645015672 0ustar chrisburgesschrisburgesshello 3
@xurizaemon
Copy link
Author

inpsect contents:

curl -L https://gist.github.com/xurizaemon/974ce1c5caaf97d0b3f800b6f2ca2ee0/raw/5f739ab6b85b2322c7fd98154dec6816b962a3e9/foo.tar | tar -tvf -

extract contents:

curl -L https://gist.github.com/xurizaemon/974ce1c5caaf97d0b3f800b6f2ca2ee0/raw/5f739ab6b85b2322c7fd98154dec6816b962a3e9/foo.tar | tar -xvf -

-L tells curl to follow 30x redirects because gist or whatever love to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment