Squashed commit of the following:
- set icons for mon2 in i3
- exluded a blender render dir
- two flash backup thingys
- lfrc filebrowser dectetion and formatting
- changed music dir for mpd
- moved browser backup to its own script. log too big
- added DIAGRAM_PLANTUML_CLASSPATH var for plantuml
- added web reqs script
- added asciidoc preview
- fixed ft_to_lang error by disabling treesitter in telescope
- copy media script
This commit is contained in:
4
env/.local/bin/scripts/backup/backup-flash
vendored
4
env/.local/bin/scripts/backup/backup-flash
vendored
@@ -1,4 +1,4 @@
|
||||
cd ~/stuff/scripts
|
||||
cd ~
|
||||
|
||||
fsync () {
|
||||
# t?
|
||||
@@ -12,7 +12,7 @@ fsync () {
|
||||
fi
|
||||
}
|
||||
|
||||
syncfile="LINUX-SERVER1 sites"
|
||||
syncfile="stuff/notes"
|
||||
|
||||
#sync game stuff
|
||||
target="/home/iceyrazor/u"
|
||||
|
||||
21
env/.local/bin/scripts/backup/backup-flash-priv
vendored
Executable file
21
env/.local/bin/scripts/backup/backup-flash-priv
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
cd ~/stuff/scripts
|
||||
|
||||
fsync () {
|
||||
# t?
|
||||
rsync -RUuavn --delete-after $exclude $syncfile "$target"
|
||||
printf "===commit these changes?\n"
|
||||
read - "y/n: " uinput
|
||||
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
|
||||
printf "\n\n\n"
|
||||
rsync -RUuav --progress --delete-after $exclude $syncfile "$target"
|
||||
printf "\n===end sync\n---------\n\n"
|
||||
fi
|
||||
}
|
||||
|
||||
syncfile="LINUX-SERVER1 sites"
|
||||
|
||||
#sync game stuff
|
||||
target="/home/iceyrazor/u"
|
||||
exclude=""
|
||||
|
||||
fsync
|
||||
4
env/.local/bin/scripts/backup/bbackup
vendored
4
env/.local/bin/scripts/backup/bbackup
vendored
@@ -15,10 +15,10 @@ fsyncb () {
|
||||
fi
|
||||
}
|
||||
|
||||
syncfile="stuff .surf/styles .config/eDEX-UI/ .gnupg .ssh .local/bin/lf-gadgets .config/FreeTube .config/wlxoverlay .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cava .config/gajim/theme .local/share/applications/custom .local/share/osu .librewolf"
|
||||
syncfile="stuff .surf/styles .config/eDEX-UI/ .gnupg .ssh .local/bin/lf-gadgets .config/FreeTube .config/wlxoverlay .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cava .config/gajim/theme .local/share/applications/custom .local/share/osu"
|
||||
|
||||
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
|
||||
exclude="--exclude node_modules --exclude node_modules_23 --exclude **/target --exclude LinVAM/pyenv --exclude stuff/custom-linux/LFN --exclude stuff/custom-linux/LFN-borked-lol --exclude stuff/.private-parent/.private/minecraft"
|
||||
exclude="--exclude node_modules --exclude node_modules_23 --exclude **/target --exclude LinVAM/pyenv --exclude stuff/custom-linux/LFN --exclude stuff/custom-linux/LFN-borked-lol --exclude stuff/.private-parent/.private/minecraft --exclude /home/iceyrazor/stuff/projects/blender-projects/anim-pose/image-sequence"
|
||||
|
||||
fsynca
|
||||
|
||||
|
||||
25
env/.local/bin/scripts/backup/bbackup-browser
vendored
Executable file
25
env/.local/bin/scripts/backup/bbackup-browser
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
cd ~/
|
||||
|
||||
fsynca () {
|
||||
# t?
|
||||
rsync -RUuavn --delete-after $exclude $syncfile "$target"
|
||||
}
|
||||
|
||||
fsyncb () {
|
||||
printf "===confirm changes?\n"
|
||||
read -p "y/n: " uinput
|
||||
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
|
||||
printf "\n\n\n"
|
||||
rsync -RUuav --progress --delete-after $exclude $syncfile "$target"
|
||||
printf "\n===end sync\n---------\n\n"
|
||||
fi
|
||||
}
|
||||
|
||||
syncfile=".librewolf"
|
||||
|
||||
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
|
||||
exclude=""
|
||||
|
||||
fsynca
|
||||
|
||||
fsyncb
|
||||
25
env/.local/bin/scripts/backup/copy-media
vendored
Executable file
25
env/.local/bin/scripts/backup/copy-media
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
cd ~/stuff/media/music/
|
||||
|
||||
fsynca () {
|
||||
# t?
|
||||
rsync -RUuavn --delete-after $exclude $syncfile "$target"
|
||||
}
|
||||
|
||||
fsyncb () {
|
||||
printf "===confirm changes?\n"
|
||||
read -p "y/n: " uinput
|
||||
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
|
||||
printf "\n\n\n"
|
||||
rsync -RUuav --progress --delete-after $exclude $syncfile "$target"
|
||||
printf "\n===end sync\n---------\n\n"
|
||||
fi
|
||||
}
|
||||
|
||||
syncfile="./*"
|
||||
|
||||
target="serv:servers/local_html/ice"
|
||||
exclude=""
|
||||
|
||||
fsynca
|
||||
|
||||
fsyncb
|
||||
Reference in New Issue
Block a user