Add scripts for backing up the home

This commit is contained in:
Manuel Thalmann 2024-11-02 21:18:00 +01:00
parent 280de3223e
commit f47a1f56f5
2 changed files with 11 additions and 0 deletions
scripts/Common/Software/linux

View file

@ -0,0 +1,10 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../../lib/software.fish"
function getUserBackupArgs
argparse -i "user=" -- $argv
printf "%s\n" --base-directory ~"$_flag_user" --exact-depth 1 --hidden "^(\\.ssh|[^.])" --exclude "Games" --exclude "Desktop" ~ --exec fd . {}
end
end