Skip to content

Commit

Permalink
change to bagit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
privatezero committed Jan 6, 2021
1 parent e19a601 commit 5174b3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions videoaip
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,11 @@ while [ "${*}" != "" ] ; do
#Run Bagit
echo -e "\033[1;32mCreating Bag\033[0m"
if [ "${hiddenFiles}" = 'preserve' ] ; then
bagit baginplace "$package"
bagit.py --md5 "$package"
else
find "$package" -type f -iname ".*" -exec rm -f {} \;
bagit baginplace --excludehiddenfiles "$package"
bagit.py --md5 "$package"
fi
bagit baginplace "$package"

#sync AIP to destination
if [[ "${sync_choice}" = [yY] ]] ; then
Expand Down

0 comments on commit 5174b3b

Please sign in to comment.