Add scripts for backing up the home
This commit is contained in:
parent
fb99a321df
commit
9817747218
2 changed files with 11 additions and 0 deletions
|
@ -80,6 +80,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
|
|||
and source "$dir/../Software/git/main.fish" $argv
|
||||
and source "$dir/../Software/zoxide/main.fish" $argv
|
||||
and source "$dir/../Software/logo-ls/main.fish" $argv
|
||||
and source "$dir/../../Common/Software/linux/main.fish" $argv
|
||||
|
||||
# GRUB Shenanigans - if that's not essential I don't know what is!
|
||||
and source "$dir/../Software/minegrub-theme/main.fish" $argv
|
||||
|
|
10
scripts/Common/Software/linux/main.fish
Normal file
10
scripts/Common/Software/linux/main.fish
Normal 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
|
Loading…
Reference in a new issue