aboutsummaryrefslogblamecommitdiff
path: root/man/man1/mkcp.1df
blob: 7a4c03e34b48d6ebdbdcf215a833739fc34f032c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                               











                                                                          
                                                                          

                                                                      
                          

                               
.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>