Skip to main content

mostfiles

List directories and number of files inside to easily find directories with most files.

Give it path (default is .) and just 3 boolean options -d/--dir - each subdirectory counted as 1 file too -a/--all - do not ignore hidden files/directories -r/--recursive - recursive mode. Mostfiles ALWAYS walks subdirectories recursively, but -r flag makes it to count files in nested directories.

Examples:

$ mostfiles
3 .
1 mostfiles/__pycache__
1 mostfiles

3 files in current directory, all hidden files/directories (like .gitignore, .git ) are ignored. Only LICENSE, pyproject.toml and README.md is counted. Subdirectory "mostfiles" not counted because -d not given.

$ mostfiles -r
5 .
2 mostfiles
1 mostfiles/__pycache__

Now . has 5 files. 3 in current directory, but also 2 in subdirectories.

$ mostfiles -ar | head -n 3
32 .
26 .git
13 .git/hooks

Now, count hidden files/directories (such as .git, .gitignore)

Metadata

Release files for mostfiles 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mostfiles 0.0.3
File Size Uploaded Provenance
mostfiles-0.0.3.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mostfiles 0.0.3
File Interpreter ABI Platform
mostfiles-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / mostfiles-0.0.3.tar.gz

Download URL mostfiles-0.0.3.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a204d1f013089a91d284ebe8edb57dcde086e80761bfe843226e4199d632a116
BLAKE2b-256 checksum
How to use checksums
bbf7427c458d847fa80aadb278f6861e52d37ad3c623406499e990c2b0b085f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release files / mostfiles-0.0.3-py3-none-any.whl

Download URL mostfiles-0.0.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75dcdaa80d00b92b438e8bef7212efd28e100bf77ba4ab079d1675346f8c3f19
BLAKE2b-256 checksum
How to use checksums
61c620f62ab43213e00779cdbb2ee89ac3888b86138acb710949aaac655d7868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Security for mostfiles 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page