update bisync scripts and add python venv
This commit is contained in:
parent
a87187e102
commit
1d901448ca
3
configs/rclone/bisync_documents.filter
Normal file
3
configs/rclone/bisync_documents.filter
Normal file
@ -0,0 +1,3 @@
|
||||
+ **
|
||||
|
||||
- qoi
|
||||
4
configs/rclone/bisync_documents.sh
Executable file
4
configs/rclone/bisync_documents.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#/bin/bash
|
||||
|
||||
rclone bisync "$HOME/Documents" pdrive:Documents --verbose --progress \
|
||||
--filter-from "$HOME/.config/rclone/bisync_documents.filter" $*
|
||||
@ -1,10 +1,5 @@
|
||||
+ /Music/**
|
||||
+ /Documents/**
|
||||
+ /InstantUpload/**
|
||||
+ /verenigingen/*
|
||||
+ /Desktop/**
|
||||
+ /Public/**
|
||||
+ /Videos/**
|
||||
+ /verenigingen/**
|
||||
+ /.vault/**
|
||||
|
||||
- **
|
||||
|
||||
3
configs/rclone/bisync_music.sh
Executable file
3
configs/rclone/bisync_music.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#/bin/bash
|
||||
|
||||
rclone bisync "$HOME/Music" pdrive:Music --verbose --progress $*
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user