Crates.io | pakman |
lib.rs | pakman |
version | 0.1.0 |
source | src |
created_at | 2022-08-23 08:35:34.870304 |
updated_at | 2022-08-23 08:35:34.870304 |
description | File compression(zip) PAcKaging MANager |
homepage | |
repository | https://github.com/robinbreast/pakman |
max_upload_size | |
id | 650837 |
size | 30,139 |
File packing manager based on the configuration file where to specify all the files to be packed
$ pakman --help
pakman 0.1.0
USAGE:
pakman --config-filepath <CONFIG_FILEPATH> --input-dirname <INPUT_DIRNAME> --package-name <PACKAGE_NAME> --output-filepath <OUTPUT_FILEPATH>
OPTIONS:
-c, --config-filepath <CONFIG_FILEPATH> config json filepath
-h, --help Print help information
-i, --input-dirname <INPUT_DIRNAME> input root directory
-o, --output-filepath <OUTPUT_FILEPATH> output zip filepath
-p, --package-name <PACKAGE_NAME> select package
-V, --version Print version information
$ pakman --config-filepath ./example/config.json --input-dirname ./example --package-name package-1 --output-filepath ./output.zip
n shortcut-1.bat => dir1/test1.bat ...
n shortcut-2.bat => dir1/test2.cfg ...
[
"example/file1.txt",
"example/file2.txt",
"example/dir1/dir_file1.txt",
"example/dir2",
"example/dir3/",
"example/shortcut-1.bat",
"example/shortcut-2.bat",
]
+ "example/file1.txt" ...
warning: IO error for operation on example/file2.txt: No such file or directory (os error 2)
warning: IO error for operation on example/dir1/dir_file1.txt: No such file or directory (os error 2)
adding dir "dir2"
+ "example/dir2/dir_file1.txt" ...
+ "example/dir2/dir_file2.txt" ...
warning: IO error for operation on example/dir3/: No such file or directory (os error 2)
+ "example/shortcut-1.bat" ...
+ "example/shortcut-2.bat" ...
successfully done!