aboutsummaryrefslogtreecommitdiff
path: root/man/man1/mkcp.1df
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1/mkcp.1df')
-rw-r--r--man/man1/mkcp.1df19
1 files changed, 19 insertions, 0 deletions
diff --git a/man/man1/mkcp.1df b/man/man1/mkcp.1df
new file mode 100644
index 00000000..1beae4a8
--- /dev/null
+++ b/man/man1/mkcp.1df
@@ -0,0 +1,19 @@
+.TH MKCP 1df "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(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>