From f14d2a830b858f5f9b9d84fd4d5aa88bc741837a Mon Sep 17 00:00:00 2001 From: Francois B Date: Sat, 2 Sep 2017 00:55:26 +0200 Subject: [PATCH] README.md updated --- README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 49 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3099715..73c6bf0 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ WPFind ====== -The purpose of this script is to find wallpapers among pictures files and move them to a separate directory wp. It can be useful when you are trying to clean your mess on your computer ;-) +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 ;-) Installation ------------ @@ -12,13 +13,54 @@ Installation sudo dpkg -i wpfind.deb ``` -Usage ------ - -Go to the directory you want to clean and use this command +Usage options +------------- ``` -wpfind + _ ______ _______ __ +| | / / __ \/ ____(_)___ ____/ / +| | /| / / /_/ / /_ / / __ \/ __ / +| |/ |/ / ____/ __/ / / / / / /_/ / +|__/|__/_/ /_/ /_/_/ /_/\__,_/ + +Find wallpapers recursively in the current dir and sub-directories... + +Version : 0.1 +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 (default: wpfiles inside the current directory) + -o (default: wpfiles inside the current directory) + -w (default: 1920px) + -v : verbose mode + -h : show help & informations +``` + +Examples of use +--------------- + +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 @@ -36,4 +78,4 @@ The script is licensed under the terms of the GPLv3 Changelog --------- -2017-08-20 : initial release 0.1 +2017-09-02 : initial release 0.1