https://github.com/miyako/4d-class-sevenzip
Classes to process archive files with the 7z program
https://github.com/miyako/4d-class-sevenzip
4d-class 7zip system-worker
Last synced: 4 months ago
JSON representation
Classes to process archive files with the 7z program
- Host: GitHub
- URL: https://github.com/miyako/4d-class-sevenzip
- Owner: miyako
- License: mit
- Created: 2024-01-26T06:36:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-28T10:40:19.000Z (over 2 years ago)
- Last Synced: 2025-01-08T17:55:26.457Z (over 1 year ago)
- Topics: 4d-class, 7zip, system-worker
- Language: 4D
- Homepage: https://miyako.github.io/4d-class-sevenzip/
- Size: 3.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)

[Classes](https://github.com/miyako/4d-class-sevenzip/tree/main/Project/Sources/Classes) to process archive files with the 7z program.

# Examples
## Archive
```4d
$sevenzip:=cs.SevenZip.new(cs._SevenZip_Controller)
$sevenzip.add(File("test.7z"); New collection(File("a.txt"); File("b.txt"); File("c.txt")))
```
## Expand
```4d
$sevenzip:=cs.SevenZip.new(cs._SevenZip_Controller)
$sevenzip.extract(Folder(fk desktop folder); File("test.7z"))
```