mv files as opposed to copy

This commit is contained in:
RogueM 2016-07-09 12:44:22 +01:00
parent 726019365e
commit a376b24642
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ tmppng="$dirpng/template.png"
yamlfile="../src/en/settings.yaml"
mdlist=$(ls "$draftmd")
cp -R $draftmd/* $dirmd && rm $tmpmd
cp -R $draftpng/* $dirpng && rm $tmppng
mv -R $draftmd/* $dirmd && rm $tmpmd
mv -R $draftpng/* $dirpng && rm $tmppng
for overlay in $mdlist; do
if [ $overlay != "template.md" ]; then