backup-20240507-19h17
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
DATE=$(date +%Y%m%d-%Hh%M)
|
||||
LOGFILE=/home/johannes/.var/log/${DATE}-user-backup.log
|
||||
su johannes -c "touch $LOGFILE 2>&1"
|
||||
touch $LOGFILE
|
||||
echo "--------------------------------------------------------------------" >> $LOGFILE 2>&1
|
||||
for repo in $(find /home/johannes -type d -name '.jr_backup'); do
|
||||
git -C $repo/.. add $repo/../* >> $LOGFILE 2>&1
|
||||
|
||||
Reference in New Issue
Block a user