If you have a huge tar backup file and you need to grab some files out of it, wouldn’t it be easier if you can look inside first? Luckily there’s an easy option to do so.
Simply use the -t option to list the contents of the archive because that letter says “list” to everybody and it’s so easy to remember.
Yeah. Combine with the -f option to specify the tarfile that you’re getting the list from.tar -tf tarfile
Of course just using that option will list the entire contents of the archive…
The post How to List or Search for Files in a .tar / .tar.gz Archive appeared first on FeedBox.