From 5174b3ba88c9f108b22e5854bd1cdf3aa21cb3c8 Mon Sep 17 00:00:00 2001 From: weaver Date: Tue, 5 Jan 2021 16:37:22 -0800 Subject: [PATCH] change to bagit.py --- videoaip | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/videoaip b/videoaip index 062c39c..e5458e8 100755 --- a/videoaip +++ b/videoaip @@ -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