diff --git a/.bashrc b/.bashrc index ada9b3f..8335696 100644 --- a/.bashrc +++ b/.bashrc @@ -170,6 +170,9 @@ function purge() { if [ "$WIRKLICH" = "ja" ] then echo "Lösche..." + echo " " >>$GIT_PFAD/logger/Logs/del.log + echo " " >>$GIT_PFAD/logger/Logs/del.log + echo "$(date) LÖSCHEN -------------------------------------------------------------------------" >>$GIT_PFAD/logger/Logs/del.log command rm -v -r $TRASHVERZ >>$GIT_PFAD/logger/Logs/del.log echo "Fertig. ERR: $?" echo "Liste der gelöschten Dateien: $GIT_PFAD/logger/Logs/del.log"