aboutsummaryrefslogtreecommitdiff
path: root/doc/mkmv.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mkmv.1')
-rw-r--r--doc/mkmv.135
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/mkmv.1 b/doc/mkmv.1
new file mode 100644
index 0000000..7087769
--- /dev/null
+++ b/doc/mkmv.1
@@ -0,0 +1,35 @@
+.Dd $Mdocdate$
+.Dt mkmv 1
+.Os
+.
+.Sh NAME
+.Nm mkmv
+.Nd move files to new directory
+.
+.Sh SYNOPSIS
+.Nm
+.Fl t Ar target
+.Ar file ...
+.
+.Sh DESCIPTION
+.Pp
+.Nm
+moves the specified files into a new directory named
+.Ar target .
+It correctly handles the (not uncommon) case
+where one of the moved files has the same name
+as the target directory.
+
+Note that
+.Nm
+does not support the argument syntax of
+.Xr mv 1 .
+The explicit
+.Fl t
+flag is obligatory.
+.
+.Sh AUTHORS
+.Pp
+.Nm
+is written by John Ankarström
+.Aq Mt john (at) ankarstrom.se .