fmmpy-directory-compressor-0.1.0.post2
توضیحات
Compress a directory into a single .FSA file.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | fmmpy-directory-compressor-0.1.0.post2 |
| نام | fmmpy-directory-compressor |
| نسخه کتابخانه | 0.1.0.post2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Wibo Kuipers |
| ایمیل نویسنده | w.kuipers@filmage.nl |
| آدرس صفحه اصلی | https://github.com/w-kuipers/fmm-directory-compressor |
| آدرس اینترنتی | https://pypi.org/project/fmmpy-directory-compressor/ |
| مجوز | - |
# FMM Directory Compressor
[](https://www.gnu.org/licenses/gpl-3.0)
Compress a directory into a single .FSA file. This library was build for the Filmage Media Manager to create project directory structures.
## Installation
### Linux
#### Debian/Ubuntu
sudo apt-get install fmm-directory-compressor
### Python API
pip install fmmpy-directory-compressor
Note the `pip` refers to the Python 3 package manager. In environment where Python 2 is also available the correct command may be `pip3`.
## Usage
### CLI
#### Compress directory
fmm-directory-compressor compress-directory path/to/src path/to/dst
You'll be asked to provide a filename. A .fsa file will be generated.
If you are using windows, the compression might fail when your source directory contains paths that are longer than 260 characters. These file paths can be ignored with the `--skip-long-paths` flag, but with this method these files/directories wont be present in the compressed file.
#### Decompress directory
fmm-directory-compressor decompress-directory path/to/file.fsa path/to/dst
You'll be asked to provide a root directory name. The directory structure will be rebuild.
### Python API
The python wrapper yields the same functionality as the CLI application. Just include the library and you're ready to go.
import fmm_directory_compressor
## Compress directory
fmm_directory_compressor.compress_directory("path/to/src", "yourfilename", "path/to/dst")
## Decompress directory
fmm_directory_compressor.decompress_directory("root-directory-name", "path/to/yourfile.fsa", "path/to/dst")
## Support
If you found a problem with the software, please [create an issue](https://github.com/w-kuipers/fmm-directory-compressor/issues) on GitHub.
## Maintainer
This project is maintained by [Wibo Kuipers](https://github.com/w-kuipers).
The source has been setup to work with Linux and Windows. Mac OS has not been tested yet.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl fmmpy-directory-compressor-0.1.0.post2:
pip install fmmpy-directory-compressor-0.1.0.post2.whl
نصب پکیج tar.gz fmmpy-directory-compressor-0.1.0.post2:
pip install fmmpy-directory-compressor-0.1.0.post2.tar.gz