aboutsummaryrefslogtreecommitdiff
path: root/doc/mkmv.1
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-12 13:24:49 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-12 13:27:07 +0200
commit03d827e2fbc409ef97829f25b8eeca5204f81a3c (patch)
tree6099f0feb9adf3425fba87549b164043e18bd0c7 /doc/mkmv.1
parent45cddd072119c5abd7ec076cf28d51ee01f125b7 (diff)
downloadxutil-03d827e2fbc409ef97829f25b8eeca5204f81a3c.tar.gz
Re-organize files
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 .