diff options
| author | Simon Heimberg <simon.heimberg@heimberg-ea.ch> | 2017-06-08 14:51:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-08 14:51:59 +0200 |
| commit | db316ed18e6d83a3b942a02c3d3beb1380c6f43e (patch) | |
| tree | c9b36f3948998796ef606ff4aa7a420fac883969 | |
| parent | 6364fe1ca069b015a37aa8438b9a32670dd96b16 (diff) | |
correct argument for maxdept parameter
| -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 0e8b7fd..813e7d3 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" -maxdepth=1 -type d -name "????-??-??-??????" -prune | sort -r" + fn_run_cmd "find "$DEST_FOLDER" -maxdepth 1 -type d -name "????-??-??-??????" -prune | sort -r" } fn_expire_backup() { |
