diff options
author | Mike Burns <mike@mike-burns.com> | 2013-07-10 23:50:11 +0200 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2013-07-12 21:53:07 +0200 |
commit | 30e09856846e482d1bc805645956d2cfe202e0cc (patch) | |
tree | abe89042ab5df3af14faf1a203dfda81d095bd18 /man | |
parent | 75586ddbd84bbce167ae981a674d60743acb857b (diff) |
Add lsrc
The `lsrc` command works just like the `rcup` command but instead of
making symlinks and directories, it just lists all the files that would
be symlinks. It prints the destination (e.g. `~/.foo`) and the source
(`~/.dotfiles/foo`), separated by a colon.
Re-write `rcup` in terms of `lsrc`.
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/lsrc.1 | 50 | ||||
-rw-r--r-- | man/man1/mkrc.1 | 2 | ||||
-rw-r--r-- | man/man1/rcup.1 | 2 | ||||
-rw-r--r-- | man/man5/rcrc.5 | 2 |
4 files changed, 53 insertions, 3 deletions
diff --git a/man/man1/lsrc.1 b/man/man1/lsrc.1 new file mode 100644 index 0000000..50642a6 --- /dev/null +++ b/man/man1/lsrc.1 @@ -0,0 +1,50 @@ +.TH lsrc "1" "July 2013" "rcm" + +.SH NAME +lsrc \- show configuration files + +.SH SYNOPSIS +.B lsrc [-v] [-q] [-t \fItag\fR] [-d \fIdir\fR] [\fIfiles...\fR] + +.SH DESCRIPTION + +This program lists all configuration files, both the sources in the +dotfiles directories and the destinations in your home directory. + +See \fIrcup\fR\|(1), the \fBDIRECTORY LAYOUT\fR section, for details on +the directory layout. + +It supports these options: + +.TP +\fB-v\fR +increase verbosity. This can be repeated for extra verbosity. + +.TP +\fB-q\fR +decrease verbosity + +.TP +\fB-t\fR \fITAG\fR +list dotfiles according to TAG + +.TP +\fB-d\fR \fIDIR\fR +list dotfiles from the DIR. This can be specified multiple times. + +.TP +\fIfiles...\fR +only list the specified file(s) + + +.SH AUTHOR + +Written by Mike Burns. + +.SH FILES +.I ~/.dotfiles +.I ~/.rcrc + +.SH SEE ALSO + +\&\fIrcrc\fR\|(5), \fImkrc\fR\|(1), \fIrcup\fR\|(1) diff --git a/man/man1/mkrc.1 b/man/man1/mkrc.1 index b241e6b..b8b555f 100644 --- a/man/man1/mkrc.1 +++ b/man/man1/mkrc.1 @@ -42,4 +42,4 @@ Written by Mike Burns. .SH SEE ALSO -\&\fIrcrc\fR\|(5), \fIrcup\fR\|(1) +\&\fIrcrc\fR\|(5), \fIrcup\fR\|(1), \fIlsrc\fR\|(1) diff --git a/man/man1/rcup.1 b/man/man1/rcup.1 index f68cc87..c24753c 100644 --- a/man/man1/rcup.1 +++ b/man/man1/rcup.1 @@ -67,4 +67,4 @@ Written by Mike Burns. .SH SEE ALSO -\&\fIrcrc\fR\|(5), \fImkrc\fR\|(1) +\&\fIrcrc\fR\|(5), \fImkrc\fR\|(1), \fIlsrc\fR\|(1) diff --git a/man/man5/rcrc.5 b/man/man5/rcrc.5 index 67dc2a3..6f28e06 100644 --- a/man/man5/rcrc.5 +++ b/man/man5/rcrc.5 @@ -37,4 +37,4 @@ Written by Mike Burns. .SH SEE ALSO -\&\fImkrc\fR\|(5), \fIrcup\fR\|(1) +\&\fImkrc\fR\|(5), \fIrcup\fR\|(1), \fIlsrc\fR\|(1) |