summaryrefslogtreecommitdiffstats
path: root/bin/mv/mv.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
* add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,tedu2017-06-271-6/+25
* Remove now-unused pathnames.h, from Jan Starymillert2016-10-111-3/+1
* remove getopt() from the nested cp and rm mainstedu2015-11-171-22/+10
* direct copy of cp and rm code into mv, so it can avoid fork+exec.tedu2015-11-171-39/+32
* we're running rm. call it rm too.tedu2015-10-061-2/+2
* In fastcopy(), do the required malloc() before opening input or output file.guenther2015-08-241-9/+10
* Preserve times to nanosecond precision instead of just microsecond.guenther2015-05-031-5/+5
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-5/+5
* don't try to be clever and name the _PATH_CP exec "mv", since thisderaadt2014-07-211-3/+3
* Use errc/warnc to simplify code.guenther2014-05-211-4/+4
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
* Separate code a little, making it clearer. From Gilles Chehaderay2007-07-271-6/+10
* Allow moving files starting with a dash acrossmoritz2007-02-161-4/+4
* Set tv_usec sensibly when calling utimes() instead of just zeroing it.millert2005-06-301-5/+4
* Sync with recent realpath(3) changes: on failure, don't use the secondjaredy2005-04-081-3/+3
* Use warnx() instead of warn() in four places where we know errno is zero.otto2004-12-131-6/+6
* spacingderaadt2003-07-291-3/+3
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* Fix some typos in comments; Patrick Latifimillert2003-03-211-4/+4
* Use the return value of strcpy() to detect ENAMETOOLONG instead ofmillert2003-03-131-4/+3
* lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduderaadt2003-03-131-3/+3
* ansideraadt2002-07-041-13/+7
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-6/+6
* Stat source path at the top of do_move() and return an error ifmillert2002-01-251-7/+8
* missed some registers, kill'em!mpech2002-01-161-5/+5
* KNFderaadt2001-12-011-3/+3
* o) __progname aria;mpech2001-09-061-5/+7
* correct type on last arg to execl(); nordin@cse.ogi.eduderaadt2001-07-091-4/+4
* Fix a bug in previous commit; we need a separate stat buffer formillert2001-01-081-7/+7
* Fix 3 cases related to symbolic links when moving between filesystes:millert2001-01-061-12/+15
* Try to preserve file flags in mv (Kamo Hiroyasu <wd@ics.nara-wu.ac.jp>)angelos1999-12-241-2/+14
* When using the -i option, check for the existence of the source file beforeaaron1999-07-261-3/+3
* use pid_taaron1999-01-121-3/+4
* indentderaadt1998-07-021-10/+10
* Fix mv b/ a where a is a directory.csapuntz1998-07-021-7/+26
* MAXPATHLEN not MAXPATHLEN+1, no buf oflow of targdirderaadt1998-05-181-3/+5
* avoid looping on question; wosch@freebsdderaadt1997-09-281-6/+7
* don't print more directory slashes than user specified on error.michaels1997-04-121-4/+6
* Error out if someone tries to mv a mount point. Old behavior was tomillert1997-03-011-3/+17
* Remember errno if fchown() fails so we get correct warningstholo1997-02-021-5/+8
* -Wall'ing.mickey1996-12-141-2/+4
* zap getopt() case of -?, come on, it is the default!deraadt1996-08-021-3/+2
* regarding freebsd pr#1351 & pr#1377 re: fastcopy(); kill "wrong gid butderaadt1996-07-301-6/+17
* update rcsidderaadt1996-06-231-1/+2
* initial import of NetBSD treederaadt1995-10-181-0/+344