PortValhalla/scripts/Common/Software/linux/main.fish

11 lines
327 B
Fish
Raw Permalink Normal View History

2024-11-02 20:18:00 +00:00
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../../lib/software.fish"
function getUserBackupArgs
argparse -i "user=" -- $argv
2024-11-29 00:13:58 +00:00
printf "%s\n" --base-directory ~"$_flag_user" --exact-depth 1 --hidden "^(\\.ssh|[^.])" --exclude Games --exclude Desktop ~ --exec fd . {}
2024-11-02 20:18:00 +00:00
end
end