Skip to content

Commit

Permalink
Fix/improve extract script.
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbaldassari committed Aug 19, 2021
1 parent 6b0c428 commit d6a51be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extract_indexes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ du -sh $WORKDIR/*
#echo "* Removing indexes."
#rm -rf $WORKDIR/indexes/

# If files others than the .fld one are required, please comment
# the following lines.
echo "* Removing useless exports."
rm -f $WORKDIR/export/*.inf
rm -f $WORKDIR/export/*.len
Expand All @@ -92,6 +94,10 @@ ls -lh $WORKDIR/
echo "Size after cleaning:"
du -sh $WORKDIR/*

echo "Make files modifiable by the end-user."
chmod -R 777 $WORKDIR/export/
chmod -R 777 $WORKDIR/indexes/

localtime=$(date +"%Y-%m-%d %H:%M:%S")
echo "Docker Script execution finished on $localtime."

0 comments on commit d6a51be

Please sign in to comment.