Comments (1)
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)
- fully recursive exclusions? HOT 3
- Spaces in path or filename does not work HOT 2
- latest release broke zipping assets in our pipeline HOT 4
- please update `master` to `main` HOT 4
- unzip file HOT 1
- Using path as base directory for files inside the zip file HOT 1
- Zip path is proper on Windows, but errors on Linux.
- File changed as we read it tar issue HOT 2
- Upload Release fails HOT 1
- tar only allows for one exclusion HOT 1
- Exclude folder HOT 6
- On Windows, got error INPUT_CUSTOM: unbound variable HOT 2
- Broken pipeline on update to v0.7.0, `INPUT_CUSTOM: unbound variable` HOT 3
- Symlinking by default would be nice. HOT 4
- Have the extension be added automatically based on the type. HOT 2
- problem generating zip from different branches for release HOT 1
- Unexpected inputs as well as undefined tag & input
- Exclusions not working with specifing a path HOT 2
- Zipping nested folders HOT 2
- Exclusions from distignore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zip-release.