imgsort/README.md

47 lines
1.5 KiB
Markdown
Raw Normal View History

2021-09-23 15:18:28 +02:00
# imgsort - Image Sorter
2021-09-23 15:09:36 +02:00
This is a python program that lets you easily sort images from one directory into other directories.
For example, you could go through your phone's camera folder and sort the images into different folders, like *Family*, *Landscapes*, *Friends* etc.
## Usage
1. Navigate to the folder containing the images and run "imgsort".
```shell
cd ~/Pictures
imgsort
```
2. When you run it the first time, you will be prompted to create a new config. That means you need to assign keyboard keys to directories in your filesystem.
2021-12-05 22:44:47 +01:00
For example, you could use:
2022-12-16 05:36:10 +01:00
- `f` = `~/Pictures/Family`
- `v` = `~/Pictures/Vacation_2019`
- `o` = `~/Pictures/Other`
2021-12-05 22:44:47 +01:00
2022-12-16 05:36:10 +01:00
Note that `s`, `u` and `q` are reserved for *skip*, *undo* and *quit*, but you can use `S`, `U` and `Q` instead.
3. Save the config if you might want to use it again. The config file will be stored in `~/.config/imgsort`.
2021-09-23 15:09:36 +02:00
4. Enjoy the slideshow!
## Installation
2021-09-23 15:18:28 +02:00
Clone this repository and install it using python-pip.
2021-09-23 15:09:36 +02:00
pip should also install https://github.com/seebye/ueberzug, which lets you view images in a terminal.
2023-10-22 23:27:39 +02:00
https://github.com/jstkdng/ueberzugpp
2021-09-23 15:18:28 +02:00
```shell
cd ~/Downloads
git clone https://github.com/MatthiasQuintern/imgsort.git
cd imgsort
python3 -m pip install .
```
2021-12-05 22:44:47 +01:00
## Changelog
2023-10-21 13:32:29 +02:00
### 1.2
- Works with ueberzugpp
2023-10-22 23:27:39 +02:00
- Added option to open file with `xdg-open`
2023-10-21 13:32:29 +02:00
- Use pyproject.toml for installation
2021-12-05 22:44:47 +01:00
### 1.1
- Terminal does not break anymore when program exits
- Todo-Images are now sorted by filename
### 1.0
2022-12-16 05:36:10 +01:00
- Initial Release
2021-12-05 22:44:47 +01:00
## Importand Notice:
This software comes with no warranty!