Makes more sense to overwrite output files
This commit is contained in:
parent
938888f015
commit
008c618c16
1 changed files with 3 additions and 12 deletions
15
sortfics.sh
15
sortfics.sh
|
@ -46,24 +46,15 @@ do
|
|||
then
|
||||
if test -f "texts/${ficstring}.html"
|
||||
then
|
||||
if ! test -f "build/${builddir}/${ficstring}.html"
|
||||
then
|
||||
mv "texts/${ficstring}.html" "build/${builddir}/"
|
||||
fi
|
||||
mv "texts/${ficstring}.html" "build/${builddir}/"
|
||||
fi
|
||||
if test -f "texts/${ficstring}.pdf"
|
||||
then
|
||||
if ! test -f "build/${builddir}/${ficstring}.pdf"
|
||||
then
|
||||
mv "texts/${ficstring}.pdf" "build/${builddir}/"
|
||||
fi
|
||||
mv "texts/${ficstring}.pdf" "build/${builddir}/"
|
||||
fi
|
||||
if test -f "texts/${ficstring}.epub"
|
||||
then
|
||||
if ! test -f "build/${builddir}/${ficstring}.epub"
|
||||
then
|
||||
mv "texts/${ficstring}.epub" "build/${builddir}/"
|
||||
fi
|
||||
mv "texts/${ficstring}.epub" "build/${builddir}/"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue