wpfind/README.md

99 lines
2.8 KiB
Markdown
Raw Normal View History

2017-09-01 22:47:25 +00:00
![myInstallScript](https://sirenacorp.be/wp-content/uploads/2016/01/logo-1.png)
WPFind
======
2017-09-01 22:55:26 +00:00
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 ;-)
2017-09-01 22:47:25 +00:00
2017-09-01 23:02:23 +00:00
Requirements
------------
* Ubuntu, Linux Mint (should work on other Ubuntu derivatives)
* detox
```
sudo apt-get install detox
```
2017-09-01 23:21:53 +00:00
* imagemagick
```
sudo apt-get install imagemagick
```
2017-09-01 23:02:23 +00:00
2017-09-01 22:47:25 +00:00
Installation
------------
```
sudo dpkg -i wpfind.deb
```
2017-09-01 23:28:43 +00:00
If requirements are not installed, the previous command will fail because the dependencies are not satisfied.
2017-09-01 23:29:23 +00:00
Fix it by (should install detox and/or imagemagick if they are missing)
2017-09-01 23:28:43 +00:00
```
sudo apt-get install -f
```
2017-09-01 22:47:25 +00:00
2017-09-01 22:55:26 +00:00
Usage options
-------------
2017-09-01 22:47:25 +00:00
2017-09-01 22:55:26 +00:00
```
██╗ ██╗██████╗ ███████╗██╗███╗ ██╗██████╗
██║ ██║██╔══██╗██╔════╝██║████╗ ██║██╔══██╗
██║ █╗ ██║██████╔╝█████╗ ██║██╔██╗ ██║██║ ██║
██║███╗██║██╔═══╝ ██╔══╝ ██║██║╚██╗██║██║ ██║
╚███╔███╔╝██║ ██║ ██║██║ ╚████║██████╔╝
╚══╝╚══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝
2017-09-01 22:55:26 +00:00
Find wallpapers recursively in a dir and sub-directories...
2017-09-01 22:55:26 +00:00
Version : 0.1.1
2017-09-01 22:55:26 +00:00
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
-i <directory_to_analyze_to_find_wallpapers> (default: current directory)
2017-09-01 22:55:26 +00:00
-o <wallpapers_found_save_directory> (default: wpfiles inside the current directory)
-w <minimum_pixel_width> (default: 1920px)
-v : verbose mode
-h : show help & informations
```
2017-09-01 22:56:33 +00:00
Usage examples
--------------
2017-09-01 22:55:26 +00:00
Copy wallpapers in the current directory and sub-directories with minimum width of 1920px to wpfiles
```
wpfind -c
2017-09-01 22:47:25 +00:00
```
2017-09-01 22:55:26 +00:00
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
2017-09-01 22:47:25 +00:00
```
Credits
-------
This script has been written by Francois B. (Makotosan/Shakasan)
* Email : shakasan@sirenacorp.be
* Website : https://sirenacorp.be/
Licence
-------
The script is licensed under the terms of the GPLv3
Changelog
---------
2017-09-01 22:55:26 +00:00
2017-09-02 : initial release 0.1