Hanle all your files easily
Project description
filesnap
filesnap is a command-line tool for managing files and directories.
Commands
filesnap scan
Scans all the files in the path.
| Argument | Description | Default |
|---|---|---|
path |
Path to scan | Current directory |
| Option | Alias | Description |
|---|---|---|
--recursive |
-r |
Recursive search. |
--pretty |
-p |
Pretty print the output in a table. |
--exclude |
Exclude files/directories from scanning. | |
--ext |
-e |
Scan only files with these extensions. |
filesnap count
Counts all the files by extension in the path selected.
| Argument | Description | Default |
|---|---|---|
path |
Path to count | Current directory |
| Option | Alias | Description |
|---|---|---|
--recursive |
-r |
Recursive search. |
--exclude |
Exclude files/directories from counting. |
filesnap clean
Cleans the content of a path.
| Argument | Description |
|---|---|
path |
Path to clean |
| Option | Alias | Description |
|---|---|---|
--recursive |
-r |
Recursive cleaning. |
--contain |
-c |
Clean only files containing this string. |
--ext |
-e |
Clean only files with these extensions. |
--exclude |
Exclude files/directories from cleaning. | |
--force |
-f |
Force deletion without confirmation. |
--dry-run |
--dry |
Simulate cleaning without deleting files. |
filesnap export
Exports the filenames to a file.
| Argument | Description |
|---|---|
path |
Path to scan for filenames |
| Option | Alias | Description |
|---|---|---|
--type |
-t |
The type of file to export to (e.g., txt, csv, json). |
--recursive |
-r |
Recursive scanning. |
--output |
-o |
The output file name. |
--format |
-f |
The format of the output. |
--column |
-c |
The column to export (defaults to file_name). |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 filesnap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: filesnap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7aa4d887a24ce1bf7a6ddd3587e891beb90401fd81844f112f04506a4095c6f3
|
|
| MD5 |
b76a84d37302aa73b015ad82f4259a60
|
|
| BLAKE2b-256 |
8a3e5b58638118e294df93e340f078b541fccba03385c194e7869a6deed211f1
|