Skip to content

Running a multi-monitor setup and need your 100,000+ wallpapers separated into Portrait/Landscape?

License

Notifications You must be signed in to change notification settings

God-Is-A-Bird/PhotoOrientationOrganizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Are you a programmer of culture with one portrait monitor for Spotify/Discord/Docs and one landscape monitor for all your other needs? Do you have 100,000+ wallpapers that you wish you could have organized by orientation so that they fit your monitors appropriately? Use POO (Photo Orientation Organizer)!

This program creates a .poo directory in the PWD mirroring the PWD's directory structure and places symlinks of all images into .poo/Portrait or .poo/Landscape.

How To Install (requires you to already have Go installed on your system):

go install github.com/God-Is-A-Bird/PhotoOrientationOrganizer@latest

Usage of PhotoOrientationOrganizer:

  -dir string
    	Directory you would like the program to search for images in and create .poo dir with symlinks.
  -dir-workers int
    	How many directories would you like the program to process at once? Default: 2 (default 2)
  -img-workers int
    	Per each directory worker, how many images should the program process at once?. Default: 50 (default 50)
  -min-height int
    	Images with less than this will not be symlinked
  -min-width int
    	Images with less than this will not be symlinked

Depending on your file structure, you may find it beneficial to play around with -dir-workers and -img-workers. These control the number of GO Routines spawned. Remember, you're likely limited by your drive's read speeds, not CPU, so choose values that make sense. On Linux, you can use iostat [drive] [timeduration] (ex. iostat sda 5 to print every five seconds) to monitor your drive's %iowait and %idle. If %iowait is nearly maxed out, spawning more workers won't help and may actually hurt performance.

image

About

Running a multi-monitor setup and need your 100,000+ wallpapers separated into Portrait/Landscape?

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages