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:
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