small upd
This commit is contained in:
parent
458345c79c
commit
5be6d0ec88
1 changed files with 21 additions and 28 deletions
49
README.md
49
README.md
|
@ -1,24 +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.
|
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 ;-)
|
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)
|
- Ubuntu, Linux Mint (should work on other Ubuntu derivatives)
|
||||||
* detox
|
- detox
|
||||||
* imagemagick
|
- imagemagick
|
||||||
|
|
||||||
Installation
|
## Installation
|
||||||
------------
|
|
||||||
|
|
||||||
For Ubuntu 18.04, Linux Mint 19.x, and other derivatives
|
For Ubuntu 18.04, Linux Mint 19.x, and other derivatives
|
||||||
|
|
||||||
```
|
```shell
|
||||||
curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add -
|
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
|
echo "deb https://packagecloud.io/makoto/stable/ubuntu/ bionic main" | sudo tee /etc/apt/sources.list.d/makoto.list
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
@ -27,21 +24,20 @@ sudo apt-get install wpfind
|
||||||
|
|
||||||
For Ubuntu 20.04, Linux Mint 20.x, and other derivatives
|
For Ubuntu 20.04, Linux Mint 20.x, and other derivatives
|
||||||
|
|
||||||
```
|
```shell
|
||||||
curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add -
|
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
|
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 update
|
||||||
sudo apt-get install wpfind
|
sudo apt-get install wpfind
|
||||||
```
|
```
|
||||||
|
|
||||||
For Arch Linux and other derivatives
|
For Arch Linux and derivatives
|
||||||
|
|
||||||
```
|
```shell
|
||||||
trizen -S wpfind
|
trizen -S wpfind
|
||||||
```
|
```
|
||||||
|
|
||||||
Usage options
|
## Usage options
|
||||||
-------------
|
|
||||||
|
|
||||||
```
|
```
|
||||||
██╗ ██╗██████╗ ███████╗██╗███╗ ██╗██████╗
|
██╗ ██╗██████╗ ███████╗██╗███╗ ██╗██████╗
|
||||||
|
@ -68,36 +64,33 @@ Usage : wpfind [options]
|
||||||
-h : show help & informations
|
-h : show help & informations
|
||||||
```
|
```
|
||||||
|
|
||||||
Usage examples
|
## Usage examples
|
||||||
--------------
|
|
||||||
|
|
||||||
Copy wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles
|
Copy wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles
|
||||||
|
|
||||||
```
|
```shell
|
||||||
wpfind -c
|
wpfind -c
|
||||||
```
|
```
|
||||||
|
|
||||||
Move wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles
|
Move wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles
|
||||||
|
|
||||||
```
|
```shell
|
||||||
wpfind -m
|
wpfind -m
|
||||||
```
|
```
|
||||||
|
|
||||||
Move wallpapers in the /home/user/MyPics directory and sub-directories with minimum width of 2560px to /home/user/MyWP directory
|
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
|
wpfind -m -w 2560 -i /home/user/MyPics -o /home/user/MyWP
|
||||||
```
|
```
|
||||||
|
|
||||||
Credits
|
## Credits
|
||||||
-------
|
|
||||||
|
|
||||||
This script has been written by Francois B. (Makotosan/Shakasan)
|
This script has been written by Francois B. (Makotosan/Shakasan)
|
||||||
|
|
||||||
* Email : francois@makotonoblog.be
|
- Email : francois@exoseed.be
|
||||||
* Website : https://makotonoblog.be/wpfind/
|
- Website : https://makotonoblog.be/wpfind/
|
||||||
|
|
||||||
Licence
|
## Licence
|
||||||
-------
|
|
||||||
|
|
||||||
The script is licensed under the terms of the GPLv3
|
The script is licensed under the terms of the GPLv3
|
||||||
|
|
Loading…
Reference in a new issue