update bisync scripts and add python venv

This commit is contained in:
Laila van Reenen 2025-01-27 14:20:35 +01:00
parent a87187e102
commit 1d901448ca
Signed by: LailaTheElf
GPG Key ID: 8A3EF0226518C12D
5 changed files with 13 additions and 8 deletions

View File

@ -0,0 +1,3 @@
+ **
- qoi

View File

@ -0,0 +1,4 @@
#/bin/bash
rclone bisync "$HOME/Documents" pdrive:Documents --verbose --progress \
--filter-from "$HOME/.config/rclone/bisync_documents.filter" $*

View File

@ -1,10 +1,5 @@
+ /Music/**
+ /Documents/**
+ /InstantUpload/**
+ /verenigingen/*
+ /Desktop/**
+ /Public/**
+ /Videos/**
+ /verenigingen/**
+ /.vault/**
- **

3
configs/rclone/bisync_music.sh Executable file
View File

@ -0,0 +1,3 @@
#/bin/bash
rclone bisync "$HOME/Music" pdrive:Music --verbose --progress $*

View File

@ -52,11 +52,11 @@ EOF
"
run "$USERNAME" "create home dirs" "mkdir -p \
/home/$USERNAME/.local/python-env \
/home/$USERNAME/.local/py-glob \
/home/$USERNAME/.ssh \
/home/$USERNAME/projects \
/home/$USERNAME/.local/share/flatpak/overrides/"
# run ubuntu "create python env" "python3 -m venv /home/$USERNAME/.local/python-env"
run "$USERNAME" "create python env" "python3 -m venv /home/$USERNAME/.local/py-glob"
run "$USERNAME" "copy ssh config" "cp $CONFIG_DIR/sshConfig /home/$USERNAME/.ssh/config"
run "$USERNAME" "copy git config" "cp $CONFIG_DIR/gitconfig /home/$USERNAME/.gitconfig"
run "$USERNAME" "copy vim config" "cp $CONFIG_DIR/vimrc /home/$USERNAME/.vimrc"