No project description provided
Project description
File Loader
A Python tool for managing and copying files using .gitignore-style pattern matching.
Features
- List files while respecting ignore patterns (similar to
.gitignore) - Copy filtered files to a target directory
- Support for multiple ignore pattern files
- Dry-run mode for copy operations
Installation
# Using pip
pip install ignorely
# Using Poetry
poetry install
Usage
List Files
List files while excluding patterns from ignore files:
ignorely ls-files -f ./path/to/output.txt
Options:
-f, --file: Output file path to save the file list-i, --ignore: Additional ignore pattern files (can be used multiple times)
Copy Files
Copy files while respecting ignore patterns:
ignorely copy-files ./target/directory
Options:
-i, --ignore: Additional ignore pattern files (can be used multiple times)--dry-run: Preview which files would be copied without actually copying-f, --file: Input file containing the list of files to copy
Example
# List files and save to files.txt
ignorely ls-files -f ./dev/files.txt
# Copy files based on the generated list
ignorely copy-files ./dev/copied
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ignorely-1.1.0.tar.gz.
File metadata
- Download URL: ignorely-1.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d613fcfdd101cb77f27aa4a842f7aaa4d7569c9329d60cd24791b5e9702a5a8
|
|
| MD5 |
1ee09661ef2641fff80272afd114fbfd
|
|
| BLAKE2b-256 |
6c91af994841af4a0b5c39e460b5d9ee088a33688d86dc87807a67f7c03b2bed
|
File details
Details for the file ignorely-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ignorely-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98f22a1a2d67137a3f6048225035f72640a23cfdf3b5d39fc84b48c073498d50
|
|
| MD5 |
d028716d7e5911d4833ec81d22d364ae
|
|
| BLAKE2b-256 |
64b1d8401881287b1cce8fc77885fd6f5f8dd025e2c56753ee99c37f830983a4
|