Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins. git.anhgelus.world/anhgelus/dotfiles
void niri fish neovim nvim vim dotfiles linux
at main 14 lines 363 B view raw
1#!/usr/bin/bash 2 3toBackup="/home/anhgelus/Documents/" 4backup="/home/anhgelus/cloud.anhgelus.world/Documents/Laptop/" 5 6if [ -d "$backup" ]; then 7 echo "cloud.anhgelus.world already mounted" 8else 9 mount -t davfs "https://cdn.anhgelus.world/private" 10fi 11 12rsync -az --exclude={'**/.git', '**/*.o'} "$toBackup" "$backup" 13 14echo "$toBackup was backuped in $backup"