<h2>A function that enumerates all files in a folder (and subfolders)</h2>
```python
$pip install enumerate-all-files-in-folder
```
<h3>Original</h3>
<img src="https://github.com/hansalemaos/screenshots/raw/main/enumeratefiles/original.png"/>
```python
from enumerate_all_files_in_folder import copy_enumerate_files
alli = copy_enumerate_files(
folders=[r"F:\flattest"],
outputfolder=r"F:\flattestresult1",
maxsubdirs=0,
groupsuffix=True,
restart_index_new_suffix=True,
zfill=8,
prefix = '1test_'
)
```
<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/enumeratefiles/2022-12-26 20_22_11-flattestresult1.png"/>
```python
alli = copy_enumerate_files(
folders=[r"F:\flattest"],
outputfolder=r"F:\flattestresult2",
maxsubdirs=0,
groupsuffix=False,
restart_index_new_suffix=False,
zfill=8, prefix='2test_'
)
```
<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/enumeratefiles/2022-12-26 20_16_51-flattestresult2.png"/>
```python
alli = copy_enumerate_files(
folders=[r"F:\flattest"],
outputfolder=r"F:\flattestresult3",
maxsubdirs=0,
groupsuffix=True,
restart_index_new_suffix=False,
zfill=8, prefix='3test_'
)
```
<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/enumeratefiles/2022-12-26 20_16_00-flattestresult3.png"/>
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/enumerate_all_files_in_folder",
"name": "enumerate-all-files-in-folder",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "folder,files,sort",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/83/c4/a01ddd968bfc3767dff430385f34034ffc5d8a1a0e0dfea8f7785fc9d40f/enumerate_all_files_in_folder-0.10.tar.gz",
"platform": null,
"description": "\n<h2>A function that enumerates all files in a folder (and subfolders)</h2>\n\n\n\n\n\n```python\n\n$pip install enumerate-all-files-in-folder\n\n\n\n```\n\n\n\n\n\n<h3>Original</h3>\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/enumeratefiles/original.png\"/>\n\n\n\n\n\n\n\n```python\n\n\n\nfrom enumerate_all_files_in_folder import copy_enumerate_files\n\nalli = copy_enumerate_files(\n\n folders=[r\"F:\\flattest\"],\n\n outputfolder=r\"F:\\flattestresult1\",\n\n maxsubdirs=0,\n\n groupsuffix=True,\n\n restart_index_new_suffix=True,\n\n zfill=8,\n\n prefix = '1test_'\n\n)\n\n```\n\n\n\n\n\n<img src=\"https://raw.githubusercontent.com/hansalemaos/screenshots/main/enumeratefiles/2022-12-26 20_22_11-flattestresult1.png\"/>\n\n\n\n\n\n\n\n```python\n\nalli = copy_enumerate_files(\n\n folders=[r\"F:\\flattest\"],\n\n outputfolder=r\"F:\\flattestresult2\",\n\n maxsubdirs=0,\n\n groupsuffix=False,\n\n restart_index_new_suffix=False,\n\n zfill=8, prefix='2test_'\n\n\n\n)\n\n\n\n```\n\n\n\n\n\n<img src=\"https://raw.githubusercontent.com/hansalemaos/screenshots/main/enumeratefiles/2022-12-26 20_16_51-flattestresult2.png\"/>\n\n\n\n\n\n\n\n```python\n\n\n\nalli = copy_enumerate_files(\n\n folders=[r\"F:\\flattest\"],\n\n outputfolder=r\"F:\\flattestresult3\",\n\n maxsubdirs=0,\n\n groupsuffix=True,\n\n restart_index_new_suffix=False,\n\n zfill=8, prefix='3test_'\n\n\n\n)\n\n\n\n```\n\n\n\n\n\n<img src=\"https://raw.githubusercontent.com/hansalemaos/screenshots/main/enumeratefiles/2022-12-26 20_16_00-flattestresult3.png\"/>\n\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A function that enumerates all files in a folder (and subfolders)",
"version": "0.10",
"split_keywords": [
"folder",
"files",
"sort"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ef2355be8a9e5610955842f433b19d6d",
"sha256": "7c77ea4efc5b2a03b0ef7a6d8e9effc66d11fa13ede6e45f16ebbba0d34aed45"
},
"downloads": -1,
"filename": "enumerate_all_files_in_folder-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ef2355be8a9e5610955842f433b19d6d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5956,
"upload_time": "2022-12-26T23:50:20",
"upload_time_iso_8601": "2022-12-26T23:50:20.564293Z",
"url": "https://files.pythonhosted.org/packages/ae/e4/b391769430d2b8e1035c06d09a7deb360ca8266ee4f6eb9eab4c2c162497/enumerate_all_files_in_folder-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "39432f73f46e2579c90d920478b46c4a",
"sha256": "1dd6bc14888caabb91bd5919d410af5b8729c47336fdc3cd14579853bca782c4"
},
"downloads": -1,
"filename": "enumerate_all_files_in_folder-0.10.tar.gz",
"has_sig": false,
"md5_digest": "39432f73f46e2579c90d920478b46c4a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4199,
"upload_time": "2022-12-26T23:50:22",
"upload_time_iso_8601": "2022-12-26T23:50:22.086159Z",
"url": "https://files.pythonhosted.org/packages/83/c4/a01ddd968bfc3767dff430385f34034ffc5d8a1a0e0dfea8f7785fc9d40f/enumerate_all_files_in_folder-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-26 23:50:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansalemaos",
"github_project": "enumerate_all_files_in_folder",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "enumerate-all-files-in-folder"
}