To list files inside a subfolder of a .zip archive on Linux, you can use the unzip command with the -l (list) option. Here’s how:
bashunzip -l archive.zip "subfolder/*"
Replace archive.zip with your zip file name and subfolder with the name of the subfolder inside the zip.
If your zip file is data.zip and you want to list files in the documents subfolder:
bashunzip -l data.zip "documents/*"
-l flag lists files without extracting them."folder/subfolder/*").Vibe can make mistakes. Check answers. Learn more