function cleanFilenames removed + detox is include in wpFind function + detox -r

This commit is contained in:
Francois B (Makoto) 2017-10-02 23:16:25 +02:00
parent bd3be26c04
commit 8320181b09

10
wpfind
View file

@ -99,18 +99,12 @@ function depInstalled () {
fi
}
#------------------------------------------------------------------------------
# cleaning filenames using detox
#------------------------------------------------------------------------------
function cleanFilenames () {
detox ./* &>> $logfile
}
#------------------------------------------------------------------------------
# find wp
#------------------------------------------------------------------------------
function wpFind () {
cleanFilenames
# cleaning filenames using detox
detox -r $1/* &>> $logfile
# browse recursively files and dir
for pic in $1/*; do
# if directory