| RCDN(1) | General Commands Manual | RCDN(1) |
rcdn —
rcdn |
[-hKkqVv] [-B
hostname] [-d
dir] [-I
excl_pat] [-S
excl_pat] [-s
excl_pat] [-t
tag] [-U
excl_pat] [-u
excl_pat] [-x
excl_pat] [files ...] |
-t and
-d flags.
The files that are removed are symlinks. However, the COPY_ALWAYS setting in rcrc(5) modifies this. If a rc file is not a symlink but an ancestor directory is, that directory is removed. If a rc file is not a symlink but is listed in COPY_ALWAYS the file is removed.
The rcdn program will run hooks before and
after removing files, if these hooks exist. Hooks are executable programs
inside the dotfiles directory, with the following names:
hooks/pre-down and
hooks/post-down. These hooks are run each time
rcdn is run and therefore must be idempotent.
Hooks will be executed one at a time, sorted alphabetically. For instance, hooks/pre-down/animals will run before hooks/pre-down/aquariums, and hooks/pre-down/4-eyes will run before hooks/post-down/2-u-nothing-compares.
-B
HOSTNAME-d
DIR-h-I
EXCL_PAT-x flag or a setting in
rcrc(5). This can be repeated with
additional patterns. See lsrc(1),
EXCLUDE PATTERN, for more
details.-K-k-q-S
EXCL_PAT-s
EXCL_PAT-S. This
can be repeated.-t
TAG-U
EXCL_PAT-U option in
lsrc(1) for more information.-u
EXCL_PAT-U.
This can be repeated. See the documentation of the
-u option in
lsrc(1) for more information.-v-V-x
EXCL_PATRCRCrcdn -vrcdn zshrcrcdn -t pythonrcdn -d
~/corporate-dotfilesrcdn -x '*:.zshrc'rcdn is maintained by Mike Burns
<mburns@thoughtbot.com>
and thoughtbot
| August 2, 2013 | Debian |