Python script for raw-photography and raw-media organization
Project description
KrawArranger
Kjmaro Negatives Arranger. The purpose of this program is to have and maintain a mirror of the folder structure of your pictures/media with all their corresponding negatives (raw).
Folders organization
KrawArranger needs to know what is the PATH of three folders:
- Positives folder: Here is where all your multimedia content is allocated, positives (JPG, PNG, etc.) and negatives (NEF, CR2, etc.)
- Negatives folder: Here is where you want to store your negatives.
- Results folder: Here is where the program will store the logs and results of the execution.
Note: A filter can be included to KrawRranger to only analyse the desired folders inside the positive folder
Logic of KrawArranger
- 1. Scans the folders-tree stored in Negatives folder and raises an error if (at least) the same tree is not in the Positives folder. The purpose of this step is to avoid loosing the traceability of the negatives folder (if the folder name has changed and you don't know where is its negative corresponding folder)
- 2. Looks for all the negative files in the Positive folder.
- 3. Once found the negatives it will attempt to move them to the negatives folder creating the same folder-tree to reach them in the Positives folder (if it doesn't exist).
- 4. If the files to move to negatives doesn't exist will be moved, otherwise an error will be raised indicating that the files already exist in Negatives.
- 5. All the folder creation and file movement is logged for user review.
Multimedia Organization Example
graph TD
A[Positives Folder] --> B(1. My Friends)
A[Positives Folder] --> C(2. My Family)
A[Positives Folder] --> D(3. My Stuffs)
A[Positives Folder] --> E(9. Negatives Folder)
E[Negatives Folder] --> EB(1. My Friends)
E[Negatives Folder] --> EC(2. My Family)
E[Negatives Folder] --> ED(3. My Stuffs)
Future features
- Include in the log after one file movement a verification step (with MD5) to ensure that the file was mover properly and it doesn't exists in origin.
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
krawarranger-0.1.2.tar.gz
(18.6 kB
view details)
File details
Details for the file krawarranger-0.1.2.tar.gz
.
File metadata
- Download URL: krawarranger-0.1.2.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5f67da6c68ef318e507c4b10b5e0a7526007e28660e3d2a1a66031a585d571 |
|
MD5 | ebe5d2d3095ede64c95e91bac6e9bde0 |
|
BLAKE2b-256 | 767bd19c8d70317ff11bd35f26a0e43566b6f34ccfd63a31feb3e85261cc0bf4 |