summaryrefslogtreecommitdiff
path: root/man/man1/lsrc.1
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-07-10 23:50:11 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2013-07-12 21:53:07 +0200
commit30e09856846e482d1bc805645956d2cfe202e0cc (patch)
treeabe89042ab5df3af14faf1a203dfda81d095bd18 /man/man1/lsrc.1
parent75586ddbd84bbce167ae981a674d60743acb857b (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/man1/lsrc.1')
-rw-r--r--man/man1/lsrc.150
1 files changed, 50 insertions, 0 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)