Browse Source

add script to sync keepass folder

Bananicorn 1 year ago
parent
commit
a550561a89
2 changed files with 6 additions and 0 deletions
  1. 3 0
      devuan_setup/scripts/sync_keepass.sh
  2. 3 0
      devuan_setup/setup_system.sh

+ 3 - 0
devuan_setup/scripts/sync_keepass.sh

@@ -0,0 +1,3 @@
+#!/bin/bash
+lftp -e "mirror -c -R --only-newer --verbose ~/.keepass /Keepass;quit;" u353819.your-storagebox.de
+lftp -e "mirror -c --only-newer --verbose /Keepass ~/.keepass;quit;" u353819.your-storagebox.de

+ 3 - 0
devuan_setup/setup_system.sh

@@ -5,12 +5,14 @@ sudo apt install -y vim
 ~/dotfiles/setup-vim.sh
 sudo apt install -y git
 cp ./scripts/vimv /usr/bin
+cp ./scripts/sync_keepass.sh
 
 #make home folders I'll need
 mkdir -p ~/screenshots
 mkdir -p ~/pictures
 mkdir -p ~/shared
 mkdir -p ~/downloads
+mkdir -p ~/util
 mkdir -p ~/.config
 
 #window manager
@@ -78,6 +80,7 @@ sudo apt install -y calibre
 sudo apt install -y filezilla
 sudo apt install -y thunar
 sudo apt install -y krita
+sudo apt install -y lftp
 sudo apt remove -y thunar-volman
 
 #screenshots