From 30e09856846e482d1bc805645956d2cfe202e0cc Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Wed, 10 Jul 2013 23:50:11 +0200 Subject: 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`. --- man/man1/lsrc.1 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ man/man1/mkrc.1 | 2 +- man/man1/rcup.1 | 2 +- man/man5/rcrc.5 | 2 +- 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 man/man1/lsrc.1 (limited to 'man') 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) -- cgit v1.2.3