File Typer: Append extension in files without-it, based on mimetypes
Project description
File Typer
Append extension in files without-it, based on mimetypes Some files comes without any extension and windows comply about it! Because of that, several tools, including Windows Explorer cannot show the users the file preview, and cannot open-it.
This tool allows the user pass an directory/file and traverse-it, renaming files, putting extension of known table into-it, based on mimetypes
Now, if an FileListInfo found, the tool process-it and rename files acording to metadata presented. (this file is sent by Apple in law enforcement return).
Requirements
- You must install Python 3.8 ou superior.
- Works only on Linux or MacOS
Installation
file-typer can be installed using pip:
python3 -m pip install -U file-typer
If you want to run the latest version of the code, you can install from git:
python3 -m pip install -U git+https://github.com/mperon/file-typer.git
Usage
The applications uses command line arguments to interact with the user. To see all the options, execute:
file-typer --help
To process a folder, run with this command:
file-typer /path/to/folder -o /path/to/output
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
File details
Details for the file file-typer-1.0.19.tar.gz
.
File metadata
- Download URL: file-typer-1.0.19.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87304f4f89bd6847e11d0c7bba732138d9c35d7ac2b935832fde25d2e25e12c |
|
MD5 | a4e509392750a0c0b59adc7dd61bc3ef |
|
BLAKE2b-256 | 48455a1f9ac03514068d3acf5f0b56eaae2a273b20ce130a93b9de67363df966 |
File details
Details for the file file_typer-1.0.19-py3-none-any.whl
.
File metadata
- Download URL: file_typer-1.0.19-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ed3023581e41dac7c3c910e1f72095a284c3b013dd32c4afc8c35ace0a0bd5 |
|
MD5 | e4ef25e73e1f824f85fae545574d13af |
|
BLAKE2b-256 | 1224c1ce2117ffe879c3010182dd2d3b17bc38f4851a32fc101441b198ba8850 |