Skip to content

Find wallpapers among pictures files in directory and sub-directories and move/copy them to a separate directory. It can be useful when you are trying to clean your mess on your computer ;-)

License

Notifications You must be signed in to change notification settings

shakasan/wpfind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPFind

wpfind

The purpose of this script is to find wallpapers among pictures files in directory and sub-directories and move/copy them to a separate directory.

It can be useful when you are trying to clean your mess on your computer ;-)

Requirements

  • Arch Linux (should work on Arch derivatives) and probably any Linux distro
  • detox
  • imagemagick

Installation

For Arch Linux and derivatives

yay -S wpfind

Usage options

██╗    ██╗██████╗ ███████╗██╗███╗   ██╗██████╗
██║    ██║██╔══██╗██╔════╝██║████╗  ██║██╔══██╗
██║ █╗ ██║██████╔╝█████╗  ██║██╔██╗ ██║██║  ██║
██║███╗██║██╔═══╝ ██╔══╝  ██║██║╚██╗██║██║  ██║
╚███╔███╔╝██║     ██║     ██║██║ ╚████║██████╔╝
 ╚══╝╚══╝ ╚═╝     ╚═╝     ╚═╝╚═╝  ╚═══╝╚═════╝

Find wallpapers recursively in a dir and sub-directories...

Version : 0.1.3
Author : Francois B (Makoto)
Licence : GPLv3

Usage : wpfind [options]
  -c : copy wallpapers found in a specific folder
  -m : move wallpapers found in a specific folder
  -s : interactive mode (ask confirmation before overwriting a file)
  -i <directory_to_analyze_to_find_wallpapers>  (default: current directory)
  -o <wallpapers_found_save_directory>  (default: wpfiles inside the current directory)
  -w <minimum_pixel_width>  (default: 1920px)
  -v : verbose mode
  -h : show help & informations

Usage examples

Copy wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles

wpfind -c

Move wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles

wpfind -m

Move wallpapers in the /home/user/MyPics directory and sub-directories with minimum width of 2560px to /home/user/MyWP directory

wpfind -m -w 2560 -i /home/user/MyPics -o /home/user/MyWP

Credits

This script has been written by Francois B. (Makotosan/Shakasan)

Licence

The script is licensed under the terms of the GPLv3

About

Find wallpapers among pictures files in directory and sub-directories and move/copy them to a separate directory. It can be useful when you are trying to clean your mess on your computer ;-)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages