summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Heimberg <simon.heimberg@heimberg-ea.ch>2017-06-08 14:51:59 +0200
committerGitHub <noreply@github.com>2017-06-08 14:51:59 +0200
commitdb316ed18e6d83a3b942a02c3d3beb1380c6f43e (patch)
treec9b36f3948998796ef606ff4aa7a420fac883969
parent6364fe1ca069b015a37aa8438b9a32670dd96b16 (diff)
correct argument for maxdept parameter
-rwxr-xr-xrsync_tmbackup.sh2
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() {