# Maxlength Folder Eraser It’s a script used to take care of issues regarding folders and files with too many characters
## Tests Tested on Windows10 and Ubuntu16. Works only on Python 3.6+
## Performance The script took about 13 minutes to finish a 250GB repository, with very nested folders (dozens of folder levels) and also files that exceeded the maximum length allowed by the file system.
Unfortunately, we cannot use multiple threads because the recursive process needs to be synchronous, but we can merge from the old listdir function to scandir function (Contained in the OS module - Python 3.6) and make it faster.
# Warning
## Precautions * Already tested on nested folders with files but be aware that there are No Guarantees * This script will rename all files and folders into the -dir parameter, use it very, very, carefully!!!
## Warranty There is no warranty of this script. For more information, read the MIT Licence
# How to Use it 1. Run pip install maxlength_folder
Be sure to be using Python 3.6+ by running python --version on your command prompt
Run the following command:
Windows: python example.py -dir "C:\path\to\folder" -silent
Linux: .\example.py -dir "\path\to\folder" -silent
The script is verbose name by default
Use `-silent```parameter to use it in quiet mode or just use the `-dir``` parameter to inform the folder
# Log system By default, the filename is maxlength-folder-eraser.log and you can check the process there!
Metadata
Release files for maxlength-folder 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maxlength_folder-0.2.1.tar.gz | 3.7 kB | Without provenance | Details for maxlength_folder-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maxlength_folder-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for maxlength_folder-0.2.1-py2.py3-none-any.whl |
Total release size: 9.3 kB
Release files / maxlength_folder-0.2.1.tar.gz
| Download URL | maxlength_folder-0.2.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d8c1a4ee264311a6113a7ca3ac7e286517f1a78492f21bc236ddc2b0c62cd45
|
|
BLAKE2b-256 checksum How to use checksums |
eea2fa43164a41ff4816f38eb1fb08f9ff0358f7f06817980ddd188921da81ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / maxlength_folder-0.2.1-py2.py3-none-any.whl
| Download URL | maxlength_folder-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b5671f77378f4c88fbca0633adf6a2574710bd92ab3d1b7d0d71b323232e8c87
|
|
BLAKE2b-256 checksum How to use checksums |
421b20609625669785ae761533acd7bdc0133ccd85a3922429d228c23617b56c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for maxlength-folder 0.2.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.