From fd3cb6c75b1720be455981068fb0dc2af23cb8df Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 17 Jul 2024 09:49:57 +0200 Subject: [PATCH] add backup script --- delta2md/.gitignore | 2 ++ delta2md/backup.bat | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 delta2md/.gitignore create mode 100644 delta2md/backup.bat diff --git a/delta2md/.gitignore b/delta2md/.gitignore new file mode 100644 index 0000000..7b219b6 --- /dev/null +++ b/delta2md/.gitignore @@ -0,0 +1,2 @@ +notes/* +result/* \ No newline at end of file diff --git a/delta2md/backup.bat b/delta2md/backup.bat new file mode 100644 index 0000000..a1bde2f --- /dev/null +++ b/delta2md/backup.bat @@ -0,0 +1,12 @@ +@echo off +set notespath= +node delta2md +copy result\* %notespath% +pushd %notespath% + git status + pause + git add . + git commit -m "backup cryptee" + git push +popd +pause