Rit
Rit is a linux command to rename photos to the time as they were taken .
You can rename multiple files with strftime ,regex and your favourite time format .
Install
git clone https://github.com/mo1ein/RenameIt.git && cd RenameIt
then :
python3 setup.py install
and enjoy it :)
Usage
Rit [path] [strftime] [switches]
Example
Rit /home/moein/pics/photo1.jpg ./photo2.jpg
Jalali time
Rit /home/moein/Pictires/photo.JPG %c -v -j
output :
Renamed: /home/moein/Pictures/photo.JPG -> Yekshanbeh 20 Ordibehesht 1399 23:12:25.JPG
[ 1 : Files Renamed]
other ways :
Rit /home/moein/lastnight/*jpg photonew.jpeg %c -v -f
output :
Renamed: /home/moein/lastnight/2019_1.jpg -> Thu Mar 10 05:41:04 2018.jpg
Renamed: /home/moein/lastnight/2019_1.jpg -> Wed Jan 25 08:41:14 2019.jpg
Renamed: /home/moein/lastnight/2019_1.jpg -> Sun Dec 01 02:33:16 2020.jpg
Renamed: /home/moein/pics/photonew.jpeg -> Mon Feb 01 22:41:16 2020.jpeg
[ 5 : Files Renamed]
TODO
- Creat GUI with PyQt5
- Jalali Date
- Responsive GUI page
- Fix progress bar
- Show selected files
- Window Style
Metadata
Release files for Rit 1.0.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 |
|---|---|---|---|---|
| Rit-1.0.1.tar.gz | 6.4 kB | Without provenance | Details for Rit-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Rit-1.0.1-py2-none-any.whl | Python 2 | none | any | Details for Rit-1.0.1-py2-none-any.whl |
Total release size: 25.9 kB
Release files / Rit-1.0.1.tar.gz
| Download URL | Rit-1.0.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf8ea6b654f66944ad22e7c7b5e1feeeadc6527f29c498ffd94549ad55e96d4e
|
|
BLAKE2b-256 checksum How to use checksums |
b1da15d14198c634f4e98604cc88b01e71abe4f35e772484563bde8c515e9abd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
|
Release files / Rit-1.0.1-py2-none-any.whl
| Download URL | Rit-1.0.1-py2-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ce26df783232eeae84bc7044dbecaec22527efac2779c52c21d95874724fbac7
|
|
BLAKE2b-256 checksum How to use checksums |
3ba79d77d8fcc33d6821125aa548f282786ee50b2217f780d7e1893bb7f45791
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
|
Security for Rit 1.0.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.