10 lines
327 B
Fish
10 lines
327 B
Fish
#!/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
|