Find directories which contains most files
Project description
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)
Project details
Release history Release notifications | RSS feed
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 mostfiles-0.0.3.tar.gz.
File metadata
- Download URL: mostfiles-0.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a204d1f013089a91d284ebe8edb57dcde086e80761bfe843226e4199d632a116
|
|
| MD5 |
ef35e6a36ade63e90f08d8827b118d0f
|
|
| BLAKE2b-256 |
bbf7427c458d847fa80aadb278f6861e52d37ad3c623406499e990c2b0b085f2
|
File details
Details for the file mostfiles-0.0.3-py3-none-any.whl.
File metadata
- Download URL: mostfiles-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75dcdaa80d00b92b438e8bef7212efd28e100bf77ba4ab079d1675346f8c3f19
|
|
| MD5 |
9567079d993f3f95a2555fa070cfd14a
|
|
| BLAKE2b-256 |
61c620f62ab43213e00779cdbb2ee89ac3888b86138acb710949aaac655d7868
|