Wednesday, 11 April 2018

linux - How to extract one single file from tar.xz


How to extract one single file from a tar.xz file?



Answer



This should work:


tar -xf file.tar.xz "/file/to/extract.png"

See here for some more syntax.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...