This commit is contained in:
justuser 2025-01-10 19:56:24 +03:00
parent bc7a04373d
commit 0fd5755a15

2
sync.sh Normal file → Executable file
View File

@ -7,7 +7,7 @@ while true
do
#last_changed=$(find . -mmin -1)
# Update if file changed 10 seconds ago
last_changed=$(find . -type f -newermt "10 seconds ago")
last_changed=$(find . -newermt "10 seconds ago")
if [ "$last_changed" != "" ]; then
git add *
git commit -m 'sync'