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
|
# app version number
|
||||||
version="0.1.3.1"
|
version="0.1.3.2"
|
||||||
# logfile
|
# logfile
|
||||||
logfile="wpfind.log"
|
logfile="wpfind.log"
|
||||||
touch $logfile
|
touch $logfile
|
||||||
|
@ -151,7 +151,7 @@ function wpFind () {
|
||||||
if [ "$verbosemode" = "yes" ]; then
|
if [ "$verbosemode" = "yes" ]; then
|
||||||
printf "cp $iMode $pic $outputDir\n"
|
printf "cp $iMode $pic $outputDir\n"
|
||||||
fi
|
fi
|
||||||
cp $iMode $pic $outputDir
|
cp $iMode "$pic" "$outputDir"
|
||||||
date2log=$($date +'%Y-%m-%d %H:%M:%S')
|
date2log=$($date +'%Y-%m-%d %H:%M:%S')
|
||||||
printf "$date2log - cp $iMode $pic $outputDir\n" >> $logfile
|
printf "$date2log - cp $iMode $pic $outputDir\n" >> $logfile
|
||||||
# if move mode
|
# if move mode
|
||||||
|
@ -160,7 +160,7 @@ function wpFind () {
|
||||||
if [ "$verbosemode" = "yes" ]; then
|
if [ "$verbosemode" = "yes" ]; then
|
||||||
printf "mv $iMode $pic $outputDir\n"
|
printf "mv $iMode $pic $outputDir\n"
|
||||||
fi
|
fi
|
||||||
mv $iMode $pic $outputDir
|
mv $iMode "$pic" "$outputDir"
|
||||||
date2log=$($date +'%Y-%m-%d %H:%M:%S')
|
date2log=$($date +'%Y-%m-%d %H:%M:%S')
|
||||||
printf "$date2log - mv $iMode $pic $outputDir\n" >> $logfile
|
printf "$date2log - mv $iMode $pic $outputDir\n" >> $logfile
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue