hash-rename


Namehash-rename JSON
Version 0.3.1 PyPI version JSON
download
home_pageNone
SummaryA tool to rename files in a folder to be prefixed with a hash of the file's contents
upload_time2024-04-20 01:45:43
maintainerNone
docs_urlNone
authorDeflateAwning
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # hash_rename
A quick Python tool to rename files in a folder to be prefixed with a hash of the file's contents.

## Usage

```bash
pip install hash_rename

hash_rename --help
hash_rename '<path_to_file>'

# or, if you have issues with PATH:
python3 -m hash_rename '<path_to_file>'
```

## Example

Say you have a folder with the following files:

```
file1.txt
file2.txt
file3.txt
```

Running the tool renames the files to:

```
90be47_file1.txt
dbd06c_file2.txt
a7b5b7_file3.txt
```

## License

[The Unlicense](https://unlicense.org)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hash-rename",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "DeflateAwning",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/51/58/e8d64fc945541c7962ef5ba4ba9dfe9cf577b984697724c79227d524887d/hash_rename-0.3.1.tar.gz",
    "platform": null,
    "description": "# hash_rename\nA quick Python tool to rename files in a folder to be prefixed with a hash of the file's contents.\n\n## Usage\n\n```bash\npip install hash_rename\n\nhash_rename --help\nhash_rename '<path_to_file>'\n\n# or, if you have issues with PATH:\npython3 -m hash_rename '<path_to_file>'\n```\n\n## Example\n\nSay you have a folder with the following files:\n\n```\nfile1.txt\nfile2.txt\nfile3.txt\n```\n\nRunning the tool renames the files to:\n\n```\n90be47_file1.txt\ndbd06c_file2.txt\na7b5b7_file3.txt\n```\n\n## License\n\n[The Unlicense](https://unlicense.org)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A tool to rename files in a folder to be prefixed with a hash of the file's contents",
    "version": "0.3.1",
    "project_urls": {
        "homepage": "https://github.com/DeflateAwning/hash_rename",
        "issues": "https://github.com/DeflateAwning/hash_rename/issues",
        "license": "https://github.com/DeflateAwning/hash_rename/blob/main/LICENSE",
        "pypi": "https://pypi.org/project/hash-rename",
        "repository": "https://github.com/DeflateAwning/hash_rename"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7514150df61be74447882fa1edf854d0d86296099f23230f1ea4928a8967b706",
                "md5": "5e3538297b577a413a30d9e39629594d",
                "sha256": "476abcf00065abb6e0f55e0faf477e9987c9fd92717bd2211dc54b530a062e7e"
            },
            "downloads": -1,
            "filename": "hash_rename-0.3.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e3538297b577a413a30d9e39629594d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 4440,
            "upload_time": "2024-04-20T01:45:42",
            "upload_time_iso_8601": "2024-04-20T01:45:42.418610Z",
            "url": "https://files.pythonhosted.org/packages/75/14/150df61be74447882fa1edf854d0d86296099f23230f1ea4928a8967b706/hash_rename-0.3.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5158e8d64fc945541c7962ef5ba4ba9dfe9cf577b984697724c79227d524887d",
                "md5": "7ced748a9d606175bb2d5d7af0b0f078",
                "sha256": "4da758ff151d7207c662e69eb76b14cfb59b432f4a4384091ebb7f50bd440e5c"
            },
            "downloads": -1,
            "filename": "hash_rename-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7ced748a9d606175bb2d5d7af0b0f078",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4320,
            "upload_time": "2024-04-20T01:45:43",
            "upload_time_iso_8601": "2024-04-20T01:45:43.997989Z",
            "url": "https://files.pythonhosted.org/packages/51/58/e8d64fc945541c7962ef5ba4ba9dfe9cf577b984697724c79227d524887d/hash_rename-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-20 01:45:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DeflateAwning",
    "github_project": "hash_rename",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "hash-rename"
}
        
Elapsed time: 1.19445s