mv.1 (139969) | mv.1 (140353) |
---|---|
1.\"- 2.\" Copyright (c) 1989, 1990, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" the Institute of Electrical and Electronics Engineers, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)mv.1 8.1 (Berkeley) 5/31/93 | 1.\"- 2.\" Copyright (c) 1989, 1990, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" the Institute of Electrical and Electronics Engineers, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)mv.1 8.1 (Berkeley) 5/31/93 |
33.\" $FreeBSD: head/bin/mv/mv.1 139969 2005-01-10 08:39:26Z imp $ | 33.\" $FreeBSD: head/bin/mv/mv.1 140353 2005-01-16 16:41:59Z ru $ |
34.\" 35.Dd July 9, 2002 36.Dt MV 1 37.Os 38.Sh NAME 39.Nm mv 40.Nd move files 41.Sh SYNOPSIS --- 91 unchanged lines hidden (view full) --- 133.Xr rm 1 134to accomplish the move. 135The effect is equivalent to: 136.Bd -literal -offset indent 137rm -f destination_path && \e 138cp -pRP source_file destination && \e 139rm -rf source_file 140.Ed | 34.\" 35.Dd July 9, 2002 36.Dt MV 1 37.Os 38.Sh NAME 39.Nm mv 40.Nd move files 41.Sh SYNOPSIS --- 91 unchanged lines hidden (view full) --- 133.Xr rm 1 134to accomplish the move. 135The effect is equivalent to: 136.Bd -literal -offset indent 137rm -f destination_path && \e 138cp -pRP source_file destination && \e 139rm -rf source_file 140.Ed |
141.Sh DIAGNOSTICS | 141.Sh EXIT STATUS |
142.Ex -std | 142.Ex -std |
143.Sh SEE ALSO 144.Xr cp 1 , 145.Xr rm 1 , 146.Xr symlink 7 | |
147.Sh COMPATIBILITY 148The 149.Fl n 150and 151.Fl v 152options are non-standard and their use in scripts is not recommended. | 143.Sh COMPATIBILITY 144The 145.Fl n 146and 147.Fl v 148options are non-standard and their use in scripts is not recommended. |
149.Sh SEE ALSO 150.Xr cp 1 , 151.Xr rm 1 , 152.Xr symlink 7 |
|
153.Sh STANDARDS 154The 155.Nm 156utility is expected to be 157.St -p1003.2 158compatible. 159.Sh HISTORY 160A 161.Nm 162command appeared in 163.At v1 . | 153.Sh STANDARDS 154The 155.Nm 156utility is expected to be 157.St -p1003.2 158compatible. 159.Sh HISTORY 160A 161.Nm 162command appeared in 163.At v1 . |