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:
.zip
unzip
-l
unzip -l archive.zip "subfolder/*"
Replace archive.zip with your zip file name and subfolder with the name of the subfolder inside the zip.
archive.zip
subfolder
If your zip file is data.zip and you want to list files in the documents subfolder:
data.zip
documents
unzip -l data.zip "documents/*"
"folder/subfolder/*"
This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.
Vibe can make mistakes. Check answers. Learn more