| Crates.io | cpi |
| lib.rs | cpi |
| version | 0.2.0 |
| created_at | 2023-08-01 16:28:24.823718+00 |
| updated_at | 2023-09-09 07:30:03.87973+00 |
| description | A cli for copying files with ignore-files applied |
| homepage | https://github.com/XHMM/cpi-rs |
| repository | https://github.com/XHMM/cpi-rs |
| max_upload_size | |
| id | 932016 |
| size | 34,066 |
A command-line tool for copying files without ignored files.
Currently supported ignore-file config is .gitignore.
cargo install cpi
cpi ./project ./project-copy
# disable .gitignore
cpi ./project ./project-copy --no-gitignore
# output as a zip file
cpi ./project ./project-copy.zip
# -f/--force will remove "project-copy" if already existed before copying
cpi ./project ./project-copy -f