summaryrefslogtreecommitdiff
path: root/man/rcdn.1
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2014-05-30 16:53:57 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2014-07-09 11:10:04 +0200
commit82f59f31ceef20a262846fc1912de86b9d2df677 (patch)
tree1e1dc4154f767bc3cfa8fc18aee4aa3247cc88ed /man/rcdn.1
parentff2aa079062c7471c39590abf33d3f38b0c4abc7 (diff)
Allow the user to override SYMLINK_DIRS with -s
This adds a `-s` that can be used to override the `SYMLINK_DIRS` config, or the `-S` flag, to lsrc(1), mkrc(1), rcup(1), and rcdn(1). The `-s` flag is the opposite of -S: any argument, if it is a directory, is not symlinked but instead recurred down.
Diffstat (limited to 'man/rcdn.1')
-rw-r--r--man/rcdn.17
1 files changed, 7 insertions, 0 deletions
diff --git a/man/rcdn.1 b/man/rcdn.1
index 6ac8a2f..7abc4c5 100644
--- a/man/rcdn.1
+++ b/man/rcdn.1
@@ -11,6 +11,7 @@
.Op Fl d Ar dir
.Op Fl I Ar excl_pat
.Op Fl S Ar excl_pat
+.Op Fl s Ar excl_pat
.Op Fl t Ar tag
.Op Fl x Ar excl_pat
.Op Ar files ...
@@ -77,6 +78,12 @@ when removing dotfiles, any file that matches
.Ar EXCL_PAT
should be treated as a file that was symlinked, even if it is a
directory. This can be repeated.
+.It Fl s Ar EXCL_PAT
+when removing dotfiles, any directory that matches
+.Ar EXCL_PAT
+should be recurred upon like normal. This is the default, and is the opposite of
+.Fl S .
+This can be repeated.
.It Fl t Ar TAG
remove dotfiles according to
.Ar TAG