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
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue