GithubHelp home page GithubHelp logo

Comments (1)

rapiz1 avatar rapiz1 commented on July 23, 2024

A little explanation here:

$ tree
.
├── bar
│   └── foo
└── foo
$ 7z a -tzip expect.zip foo
$ 7z a -r -tzip actual.zip foo
$ 7z l expect.zip
7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 140 bytes (1 KiB)

Listing archive: expect.zip

--
Path = expect.zip
Type = zip
Physical Size = 140

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2022-01-06 16:21:55 .....            0            0  foo
------------------- ----- ------------ ------------  ------------------------
2022-01-06 16:21:55                  0            0  1 files

$  7z l actual.zip
7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 266 bytes (1 KiB)

Listing archive: actual.zip

--
Path = actual.zip
Type = zip
Physical Size = 266

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2022-01-06 16:21:58 .....            0            0  bar/foo
2022-01-06 16:21:55 .....            0            0  foo
------------------- ----- ------------ ------------  ------------------------
2022-01-06 16:21:58                  0            0  2 files

from zip-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.