{ "info": { "author": "Fabricio Roberto reinert", "author_email": "fabricio.reinert@live.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6" ], "description": "# Maxlength Folder Eraser\nIt's a script used to take care of issues regarding folders and files with too many characters\n\n## Tests\nTested on Windows10 and Ubuntu16. Works only on Python 3.6+\n\n## Performance\nThe 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.\n\nUnfortunately, 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.\n\n# Warning\n\n## Precautions\n* Already tested on nested folders with files but be aware that there are **No Guarantees**\n* This script will rename all files and folders into the ``-dir`` parameter, use it very, very, carefully!!!\n\n## Warranty\nThere is no warranty of this script. For more information, read the MIT Licence\n\n# How to Use it\n1. Run ``pip install maxlength_folder``\n\n2. Be sure to be using Python 3.6+ by running ``python --version`` on your command prompt\n\n3. Run the following command:\n\n 1. **Windows:** ``python example.py -dir \"C:\\path\\to\\folder\" -silent``\n\n 2. **Linux:** ``.\\example.py -dir \"\\path\\to\\folder\" -silent``\n\n* The script is **verbose name** by default\n\n* Use ```-silent```parameter to use it in quiet mode or just use the ```-dir``` parameter to inform the folder\n\n# Log system\nBy default, the filename is **maxlength-folder-eraser.log** and you can check the process there!", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/FRReinert/Maxlength_folder", "keywords": "maxlength_folder,NTFS,maxlength,filesystem", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "maxlength-folder", "package_url": "https://pypi.org/project/maxlength-folder/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/maxlength-folder/", "project_urls": { "Homepage": "https://github.com/FRReinert/Maxlength_folder" }, "release_url": "https://pypi.org/project/maxlength-folder/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Handle files and folder which exceeds themaximum length of filesystems", "version": "0.2.1" }, "last_serial": 2705284, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "d420b8ef2daab7d4ee323ee64359f27c", "sha256": "b5671f77378f4c88fbca0633adf6a2574710bd92ab3d1b7d0d71b323232e8c87" }, "downloads": -1, "filename": "maxlength_folder-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d420b8ef2daab7d4ee323ee64359f27c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5643, "upload_time": "2017-03-01T15:01:11", "url": "https://files.pythonhosted.org/packages/42/1b/20609625669785ae761533acd7bdc0133ccd85a3922429d228c23617b56c/maxlength_folder-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89ab4566c533f120e53e92258900cce7", "sha256": "2d8c1a4ee264311a6113a7ca3ac7e286517f1a78492f21bc236ddc2b0c62cd45" }, "downloads": -1, "filename": "maxlength_folder-0.2.1.tar.gz", "has_sig": false, "md5_digest": "89ab4566c533f120e53e92258900cce7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3666, "upload_time": "2017-03-01T15:01:13", "url": "https://files.pythonhosted.org/packages/ee/a2/fa43164a41ff4816f38eb1fb08f9ff0358f7f06817980ddd188921da81ce/maxlength_folder-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d420b8ef2daab7d4ee323ee64359f27c", "sha256": "b5671f77378f4c88fbca0633adf6a2574710bd92ab3d1b7d0d71b323232e8c87" }, "downloads": -1, "filename": "maxlength_folder-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d420b8ef2daab7d4ee323ee64359f27c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5643, "upload_time": "2017-03-01T15:01:11", "url": "https://files.pythonhosted.org/packages/42/1b/20609625669785ae761533acd7bdc0133ccd85a3922429d228c23617b56c/maxlength_folder-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89ab4566c533f120e53e92258900cce7", "sha256": "2d8c1a4ee264311a6113a7ca3ac7e286517f1a78492f21bc236ddc2b0c62cd45" }, "downloads": -1, "filename": "maxlength_folder-0.2.1.tar.gz", "has_sig": false, "md5_digest": "89ab4566c533f120e53e92258900cce7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3666, "upload_time": "2017-03-01T15:01:13", "url": "https://files.pythonhosted.org/packages/ee/a2/fa43164a41ff4816f38eb1fb08f9ff0358f7f06817980ddd188921da81ce/maxlength_folder-0.2.1.tar.gz" } ] }