Add a comment. Active Oldest Votes. If you still want the extra info for each file names, you could do: unzip -Zl file. Improve this answer. Is there a way to ignore directories? I was also looking for a way to exclude directories from the listing bsdtar -tf also prints directories just like unzip -Z1 , afaik this may be the only option: unzip -Z1 test. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Is there a way to zip it based on the content of diff-files. If a file list is specified as - [Not on MacOS], zip takes the list of input files from standard input instead of from the command line. For example,. Sign up to join this community.
The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 7 years, 1 month ago. Active 2 years, 4 months ago. Viewed 12k times. I know I can zip multiple files with: zip diffedfiles. Improve this question. Add a comment. You have created a multipart zip, not 3 zip files.
So to list all contents of the 3-file multipart zip, you need to preserve the names as it is. TLDR You cannot invent things and expect them to magically work as you think they work. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Related 5. Hot Network Questions. Question feed.
0コメント