Skip to content

small tool to sort lots of images into different directories

License

Notifications You must be signed in to change notification settings

graynk/imagesorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imagesorter

Yet another very specific tool that only I need. By default it requires a terminal that supports terminal graphics protocol, but you can fallback to Sixel by passing --sixel to the command.

demo.mp4

You can install it by grabbing a binary from releases page, or by running

go install github.com/graynk/imagesorter@latest

You use it like this:

imagesorter [--sixel] /path/to/source cool_pictures not_so_cool_pictures can_be_deleted

or like this

imagesorter [--sixel] --scan /path/to/source /path/to/target

Then it will read every PNG/JPG in source directory, display it in the terminal and ask you to which of the target directories it should be moved. Then it will move it accordingly.

Optional --scan argument will scan every directory it target and create a list of target directories that way.

Note: it uses os.Rename to move the file because I am lazy, so it won't move the file between different drives.

About

small tool to sort lots of images into different directories

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages