aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-30 00:10:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-30 00:12:28 +1200
commit692419ad2a7026b3fd95b2cd4df1748892b579d6 (patch)
tree038704e0ba24950dabce615b121a54810e5be90d /man
parentAdd rule for kvlt(6) to change numbers to 666 (diff)
downloaddotfiles-692419ad2a7026b3fd95b2cd4df1748892b579d6.tar.gz
dotfiles-692419ad2a7026b3fd95b2cd4df1748892b579d6.zip
Change mkmv/mkcp from Bash funcs to sh scripts
Diffstat (limited to 'man')
-rw-r--r--man/man1/mkcp.119
-rw-r--r--man/man1/mkmv.119
2 files changed, 38 insertions, 0 deletions
diff --git a/man/man1/mkcp.1 b/man/man1/mkcp.1
new file mode 100644
index 00000000..6db6ec1f
--- /dev/null
+++ b/man/man1/mkcp.1
@@ -0,0 +1,19 @@
+.TH MKCP 1 "July 2016" "Manual page for mkcp"
+.SH NAME
+.B mkcp
+\- create last argument as directory and copy remaining arguments into it
+.SH SYNOPSIS
+.B mkcp
+filea fileb newdir
+.br
+.B mkcp
+filea fileb newdir/newsubdir
+.SH DESCRIPTION
+.B mkcp
+combines mkdir(1) and cp(1) into one call, creating the last argument as a
+directory and recursively copying the remaining arguments into it. If the
+directory creation fails, the script stops before attempting the copy.
+.SH SEE ALSO
+mkdir(1), cp(1), mkmv(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/mkmv.1 b/man/man1/mkmv.1
new file mode 100644
index 00000000..20679db2
--- /dev/null
+++ b/man/man1/mkmv.1
@@ -0,0 +1,19 @@
+.TH MKMV 1 "July 2016" "Manual page for mkmv"
+.SH NAME
+.B mkmv
+\- create last argument as directory and move remaining arguments into it
+.SH SYNOPSIS
+.B mkmv
+filea fileb newdir
+.br
+.B mkmv
+filea fileb newdir/newsubdir
+.SH DESCRIPTION
+.B mkmv
+combines mkdir(1) and mv(1) into one call, creating the last argument as a
+directory and moving the remaining arguments into it. If the directory creation
+fails, the script stops before attempting to move the files.
+.SH SEE ALSO
+mkdir(1), mv(1), mkcp(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>