mv/cp: Initial documentation
authorAlan Cox <alan@linux.intel.com>
Sat, 21 Jul 2018 18:24:45 +0000 (19:24 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 21 Jul 2018 18:24:45 +0000 (19:24 +0100)
Applications/util/cp.1 [new file with mode: 0644]
Applications/util/mv.1 [new file with mode: 0644]

diff --git a/Applications/util/cp.1 b/Applications/util/cp.1
new file mode 100644 (file)
index 0000000..316a134
--- /dev/null
@@ -0,0 +1,19 @@
+CP(1)
+## NAME
+*cp* - copy files and directories
+## SYNOPSIS
+*cp* \[OPTION\]... SOURCE DEST
+*cp* \[OPTION\]... SOURCE... DIRECTORY
+
+## DESCRIPTION
+Copies the files listed in SOURCE to the destination, or if a directory into
+the destination directory.
+
+## BUGS ##
+The standard POSIX options are not currently supported.
+
+## STANDARDS ##
+See bugs.
+
+## AUTHORS
+David Bell, Alan Cox
diff --git a/Applications/util/mv.1 b/Applications/util/mv.1
new file mode 100644 (file)
index 0000000..b570303
--- /dev/null
@@ -0,0 +1,21 @@
+MV(1)
+## NAME
+*mv* - move files and directories
+## SYNOPSIS
+*mv* \[OPTION\]... SOURCE DEST
+*mv* \[OPTION\]... SOURCE... DIRECTORY
+
+## DESCRIPTION
+Copies the files listed in SOURCE to the destination, or if a directory into
+the destination directory, and after successfully copying removes the
+original.
+
+## BUGS ##
+The standard POSIX options are not currently supported. The *rename* system
+call should be used when possible.
+
+## STANDARDS ##
+See bugs.
+
+## AUTHORS
+David Bell, Alan Cox