diff options
| author | St33v <github@f3rr3t.com> | 2021-05-13 10:14:54 +1000 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2021-05-13 10:14:54 +1000 |
| commit | 3b280827b52b4e2f51e0f42c393c746057f7370f (patch) | |
| tree | f918334ba9b6c578c7f0b238336c792a5729058d /pruner.sh | |
| parent | 535f2a1c86663be3b0668a364abe1c3c240c5518 (diff) | |
move test scripts to test/ dir
Diffstat (limited to 'pruner.sh')
| -rwxr-xr-x | pruner.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pruner.sh b/pruner.sh deleted file mode 100755 index 75d13af..0000000 --- a/pruner.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/bash -function Pruner { - echo 'Hello' $1 There are "$#" arguments - echo "ONE $1 TWO $2 THREE $3" - if [ "$#" -eq 1 ]; then - echo "I saw $# argument." - borg prune \ - --prefix $1 \ - --list \ - --dry-run \ - --keep-within 1d \ - --keep-daily 2 \ - --keep-weekly 8 \ - --keep-monthly 12 \ - --keep-yearly -1 \ - :: - else - # sds - echo Pruner went wrong. - fi -} - - -Pruner "$@" |
