whitespace bug fixed
This commit is contained in:
parent
dd2cfa7999
commit
07a7680df8
1 changed files with 3 additions and 3 deletions
6
wpfind
6
wpfind
|
@ -7,7 +7,7 @@
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
# app version number
|
||||
version="0.1.3.1"
|
||||
version="0.1.3.2"
|
||||
# logfile
|
||||
logfile="wpfind.log"
|
||||
touch $logfile
|
||||
|
@ -151,7 +151,7 @@ function wpFind () {
|
|||
if [ "$verbosemode" = "yes" ]; then
|
||||
printf "cp $iMode $pic $outputDir\n"
|
||||
fi
|
||||
cp $iMode $pic $outputDir
|
||||
cp $iMode "$pic" "$outputDir"
|
||||
date2log=$($date +'%Y-%m-%d %H:%M:%S')
|
||||
printf "$date2log - cp $iMode $pic $outputDir\n" >> $logfile
|
||||
# if move mode
|
||||
|
@ -160,7 +160,7 @@ function wpFind () {
|
|||
if [ "$verbosemode" = "yes" ]; then
|
||||
printf "mv $iMode $pic $outputDir\n"
|
||||
fi
|
||||
mv $iMode $pic $outputDir
|
||||
mv $iMode "$pic" "$outputDir"
|
||||
date2log=$($date +'%Y-%m-%d %H:%M:%S')
|
||||
printf "$date2log - mv $iMode $pic $outputDir\n" >> $logfile
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue