diff options
| author | SimonHeimberg <simon.heimberg@heimberg-ea.ch> | 2017-05-04 14:55:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-04 14:55:32 +0200 |
| commit | 6364fe1ca069b015a37aa8438b9a32670dd96b16 (patch) | |
| tree | b3d475477f7ebff67b4d8299651ce37f1de67df2 | |
| parent | 41f9bd1c8c80c773e094e5183983753181f7f8a5 (diff) | |
correct position for maxdept parameter
as suggested by the output of find
| -rwxr-xr-x | rsync_tmbackup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 2f03162..0e8b7fd 100755 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -60,7 +60,7 @@ fn_parse_date() { } fn_find_backups() { - fn_run_cmd "find "$DEST_FOLDER" -type d -maxdepth=1 -name "????-??-??-??????" -prune | sort -r" + fn_run_cmd "find "$DEST_FOLDER" -maxdepth=1 -type d -name "????-??-??-??????" -prune | sort -r" } fn_expire_backup() { |
