Created
September 29, 2022 18:06
-
-
Save eminorhan/6f9e4fe285c0e4f91f8b4b99b21a9254 to your computer and use it in GitHub Desktop.
count number of files in a tar archive without extracting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -tf archive.tar | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment