diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.whitesource b/.whitesource deleted file mode 100644 index 5ef5902..0000000 --- a/.whitesource +++ /dev/null @@ -1,8 +0,0 @@ -########################################################## -#### WhiteSource "Bolt for Github" configuration file #### -########################################################## - -# Configuration # -#---------------# -ws.repo.scan=true -vulnerable.check.run.conclusion.level=success \ No newline at end of file diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 92f9bee..bc74cef --- a/README.md +++ b/README.md @@ -1,33 +1,21 @@ -![wpfind](pics/logo.png) +# WPFind -WPFind -====== +![wpfind](pics/logo.png) 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 ------------- +## Requirements -* Ubuntu, Linux Mint (should work on other Ubuntu derivatives) -* detox -* imagemagick +- Ubuntu, Linux Mint (should work on Ubuntu derivatives), Arch Linux (should work on Ubuntu derivatives) and probably any Linux distro +- detox +- imagemagick -Installation ------------- - -For Ubuntu 16.04, Linux Mint 18.x, and other derivatives - -``` -curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add - -echo "deb https://packagecloud.io/makoto/stable/ubuntu/ xenial main" | sudo tee /etc/apt/sources.list.d/makoto.list -sudo apt-get update -sudo apt-get install wpfind -``` +## Installation For Ubuntu 18.04, Linux Mint 19.x, and other derivatives -``` +```shell curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add - echo "deb https://packagecloud.io/makoto/stable/ubuntu/ bionic main" | sudo tee /etc/apt/sources.list.d/makoto.list sudo apt-get update @@ -36,21 +24,20 @@ sudo apt-get install wpfind For Ubuntu 20.04, Linux Mint 20.x, and other derivatives -``` +```shell curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add - echo "deb https://packagecloud.io/makoto/stable/ubuntu/ focal main" | sudo tee /etc/apt/sources.list.d/makoto.list sudo apt-get update sudo apt-get install wpfind ``` -For Arch Linux and other derivatives +For Arch Linux and derivatives -``` -trizen -S wpfind +```shell +yay -S wpfind ``` -Usage options -------------- +## Usage options ``` ██╗ ██╗██████╗ ███████╗██╗███╗ ██╗██████╗ @@ -77,36 +64,33 @@ Usage : wpfind [options] -h : show help & informations ``` -Usage examples --------------- +## Usage examples Copy wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles -``` +```shell wpfind -c ``` Move wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles -``` +```shell wpfind -m ``` Move wallpapers in the /home/user/MyPics directory and sub-directories with minimum width of 2560px to /home/user/MyWP directory -``` +```shell wpfind -m -w 2560 -i /home/user/MyPics -o /home/user/MyWP ``` -Credits -------- +## Credits This script has been written by Francois B. (Makotosan/Shakasan) -* Email : francois@makotonoblog.be -* Website : https://makotonoblog.be/wpfind/ +- Email : francois@exoseed.be +- Website : https://makotonoblog.be/wpfind/ -Licence -------- +## Licence -The script is licensed under the terms of the GPLv3 \ No newline at end of file +The script is licensed under the terms of the GPLv3 diff --git a/pics/logo.png b/pics/logo.png old mode 100644 new mode 100755