![linux tux wallpaper 1920x1080 linux tux wallpaper 1920x1080](https://wallpapercave.com/wp/nC8VyNS.png)
![linux tux wallpaper 1920x1080 linux tux wallpaper 1920x1080](https://wallpaperaccess.com/full/2801443.png)
You can keep on adding to this pipeline to apply further actions. If you wish to filter out all the wallpapers that are not 1920x1080, then you can rely on the -o or -opposite flag, which prints the file name if it doesn't match the provided size: $ find ~/wallpapers | imgsort -s 1920x1080 -o This program also reads from STDIN, which means that you can create pipelines with it.įor example, if you wish to tell if all your wallpapers, located at ~/wallpapers and respective subfolders, are 1920x1080, then create the following pipeline with find: $ find ~/wallpapers | imgsort -s 1920x1080 jpg files in the current working directory: $ imgsort *.jpg -s 1920x1080 Naturally you can make use of bash's features, for example the wildcard statement, to filter a set of files which match a given pattern, in this case all of the. This can also be used for several files, with different formats: $ imgsort wallpaper1.jpg wallpaper2.png -s 1920x1080 If instead you want to know if wallpaper1.jpg is 16:9, you can use the same flag with with a ':' instead of the 'x': $ imgsort wallpaper1.jpg -s 16:9 If the file is 1920x1080 then it will print its name, otherwise, it will print nothing. To tell if wallpaper1.jpg in your current working directory is 1920x1080, then using the -s or -size flag: $ imgsort wallpaper1.jpg -s 1920x1080 Remember that at any time the help dialog ( -h or -help) is available to provide information regarding the available flags. Let us now see this program in action with a few examples.
LINUX TUX WALLPAPER 1920X1080 INSTALL
If instead you want to make changes to the source code, then clone this repository locally and install it in editable mode: $ git clone Install this program directly from Pypi: $ pip install imgsortįor the latests updates, install the program directly from the dev branch on this repository: $ pip install -e =imgsort These packages are automatically resolved by pip. This program requires Python version 3 as well as the following packages:
![linux tux wallpaper 1920x1080 linux tux wallpaper 1920x1080](https://www.desktopbackground.org/download/o/2014/02/09/714532_tux-through-broken-window-linux-1920x1080-hd-wallpapers-and-free_1920x1080_h.jpg)
Although there are more advanced programs with a wider range of features (e.g.: variety, hydrus) most of the times I just want to filter my wallpapers by resolution or ratio from my downloads to my wallpaper folder, without leaving my terminal.Īs so this tool was born, a minimal solution, which is meant to be used in a terminal ecosystem with other common utilities found in Linux based OSs, to assist the user in filtering image files. This program was developed after I've realized that I had too many wallpapers, and too little time. A terminal utility to sort image files based on their characteristics.