function cleanFilenames removed + detox is include in wpFind function + detox -r
This commit is contained in:
parent
bd3be26c04
commit
8320181b09
1 changed files with 2 additions and 8 deletions
10
wpfind
10
wpfind
|
@ -99,18 +99,12 @@ function depInstalled () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
# cleaning filenames using detox
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
function cleanFilenames () {
|
|
||||||
detox ./* &>> $logfile
|
|
||||||
}
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# find wp
|
# find wp
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
function wpFind () {
|
function wpFind () {
|
||||||
cleanFilenames
|
# cleaning filenames using detox
|
||||||
|
detox -r $1/* &>> $logfile
|
||||||
# browse recursively files and dir
|
# browse recursively files and dir
|
||||||
for pic in $1/*; do
|
for pic in $1/*; do
|
||||||
# if directory
|
# if directory
|
||||||
|
|
Loading…
Reference in a new issue