aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP/man/man1/mv.1
diff options
context:
space:
mode:
Diffstat (limited to 'ja_JP.eucJP/man/man1/mv.1')
-rw-r--r--ja_JP.eucJP/man/man1/mv.1150
1 files changed, 0 insertions, 150 deletions
diff --git a/ja_JP.eucJP/man/man1/mv.1 b/ja_JP.eucJP/man/man1/mv.1
deleted file mode 100644
index 6ed941e090..0000000000
--- a/ja_JP.eucJP/man/man1/mv.1
+++ /dev/null
@@ -1,150 +0,0 @@
-.\" %NetBSD: mv.1,v 1.8 1995/03/21 09:06:51 cgd Exp %
-.\"
-.\" Copyright (c) 1989, 1990, 1993
-.\" The Regents of the University of California. All rights reserved.
-.\"
-.\" This code is derived from software contributed to Berkeley by
-.\" the Institute of Electrical and Electronics Engineers, Inc.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)mv.1 8.1 (Berkeley) 5/31/93
-.\" %Id: mv.1,v 1.11 1998/05/15 06:25:16 charnier Exp %
-.\" jpman %Id: mv.1,v 1.2 1997/03/29 06:23:50 horikawa Stab %
-.\"
-.Dd May 31, 1993
-.Dt MV 1
-.Os
-.Sh 名称
-.Nm mv
-.Nd ファイルの移動
-.Sh 書式
-.Nm mv
-.Op Fl fi
-.Ar source target
-.Nm mv
-.Op Fl fi
-.Ar source ... directory
-.Sh 解説
-1 番目の書式の場合、
-.Nm
-ユーティリティは
-.Ar source
-オペランドで指定される名前のファイルの名前を、
-.Ar target
-オペランドで指定される名前のデスティネーションパスに変更します。
-最後に指定されるオペランドが既に存在するディレクトリの名前ではない場合に
-この書式であるとされます。
-.Pp
-2 番目の書式の場合、各々の
-.Ar source
-オペランドで指定される名前のファイルを、
-.Ar directory
-オペランドで指定される名前で既に存在するディレクトリの中の
-デスティネーションファイルに移動します。
-各々のオペランドに対応するデスティネーションパスは、
-``最後のオペランド''と``スラッシュ''と``ファイルのパス名の最後の部分''
-の結合によって生成されるパス名です。
-.Pp
-オプションとしては以下のものがあります:
-.Bl -tag -width flag
-.It Fl f
-デスティネーションパスを上書きする前に、
-書き込みパーミッションがあるなしにかかわらず、確認せず実行します。
-(
-.Fl f
-オプションが指定されると、それ以前の
-.Fl i
-オプションは無視されます。)
-.It Fl i
-すでに移動先に同名のファイルが存在する場合、実行してよいかどうか確認を
-標準エラー出力を使用して
-求めます。標準入力から
-.Sq Li y
-または
-.Sq Li Y
-で始まる文字列が入力されると、実行されます。
-(
-.Fl i
-オプションが指定されると、それ以前の
-.Fl f
-オプションは無視されます。)
-.El
-.Pp
-.Ar source
-オペランドとデスティネーションパスがともにディレクトリである場合を除き、
-オペランドもしくはデスティネーションパスに
-ディレクトリを指定することは誤りです。
-.Pp
-デスティネーションパスが書き込み許可をしていない場合、
-.Nm
-は、
-.Fl i
-オプションと同じように、
-ユーザの確認を求めます。
-.Pp
-.Nm
-は、通常、システムコール
-.Xr rename 2
-を使ってファイルの移動をします。しかし、
-.Xr rename 2
-は、ファイルシステムを越えてファイルを移動することがで
-きません。このため、
-.Ar source
-と
-.Ar target
-が違うファイルシステム上の場合、
-.Nm
-は、
-.Xr cp 1
-と
-.Xr rm 1
-を使って移動を行います。これは、次の結果と等価です。
-.Bd -literal -offset indent
-rm -f destination_path && \e
-\tcp -pRP source_file destination && \e
-\trm -rf source_file
-.Ed
-.Pp
-.mv
-ユーティリティは成功時には 0 を、エラー時には >0 を返し、終了します。
-.Sh 関連項目
-.Xr cp 1 ,
-.Xr rm 1 ,
-.Xr symlink 7
-.Sh 規格
-.Nm
-ユーティリティは
-.St -p1003.2
-互換です。
-.Sh 歴史
-.Nm
-コマンドは
-.At v1
-から登場しました。