class_management_system

Senior Project - Spring 2019
Log | Files | Refs | README

commit ae45e9000d2301f4cfd07363bd37cd0b2d4f96e1
parent c01c70f44854fd46b3281f746c555d80f69ea2ce
Author: John Kubach <johnkubach@gmail.com>
Date:   Wed,  3 Apr 2019 20:47:40 -0400

Update archive script

Script now outputs new filename to stdout.

Diffstat:
Msrc/scripts/archiver.sh | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/scripts/archiver.sh b/src/scripts/archiver.sh @@ -26,6 +26,9 @@ do done shift $((OPTIND -1)) -mv $FILE $EMPLOYEE\_$DOCTYPE\_$TIMESTAMP +NEWFILE=$EMPLOYEE\_$DOCTYPE\_$TIMESTAMP.pdf + +mv $FILE $NEWFILE +echo $NEWFILE exit 0