summaryrefslogtreecommitdiffstats
path: root/bin/mv
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-9/+9
2018-11-14mv imitates, but no longer uses, cp and rm to cross filesystems.tedu1-3/+3
2017-06-28add -v to SYNOPSIS and STANDARDS;jmc1-4/+8
2017-06-27add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,tedu2-8/+29
2016-10-11Remove now-unused pathnames.h, from Jan Starymillert2-39/+1
2016-10-10don't need to worry about pre/post order and skipping directories.tedu1-19/+1
2016-10-10zap extra includestedu1-6/+1
2016-10-10remove some more dead code. (previous diff from Jan Stary)tedu1-24/+3
2016-10-10remove some dead code that's only used in rmtedu1-69/+1
2016-02-01stop linking mv(1) to libutil, since that isn't used.gsoares1-4/+1
2015-12-27remove unused variablechl1-3/+3
2015-12-26Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossguenther1-18/+3
2015-11-27the rm code in mv inherited pledge from rm. it shoud be safe, but theretedu1-3/+1
2015-11-17as in rm, needs getpw in pledgetedu1-2/+2
2015-11-17don't need locale header anymoretedu2-5/+3
2015-11-17overwriting code isn't usedtedu1-82/+1
2015-11-17remove some more flagstedu1-17/+4
2015-11-17trim down the flags in rmtedu1-82/+29
2015-11-17remove Rflag and pflag (1) and rflag (0).tedu1-61/+12
2015-11-17remove getopt() from the nested cp and rm mainstedu3-101/+18
2015-11-17direct copy of cp and rm code into mv, so it can avoid fork+exec.tedu4-39/+1258
2015-10-06we're running rm. call it rm too.tedu1-2/+2
2015-08-24In fastcopy(), do the required malloc() before opening input or output file.guenther1-9/+10
2015-05-03Preserve times to nanosecond precision instead of just microsecond.guenther1-5/+5
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-5/+5
2014-07-21don't try to be clever and name the _PATH_CP exec "mv", since thisderaadt1-3/+3
2014-05-21Use errc/warnc to simplify code.guenther1-4/+4
2012-06-18s/empy/empty/ typo fixmatthew1-3/+3
2011-06-16fix error in previous;jmc1-3/+3
2011-06-15consistently specify that -f and -i override previous options in eachtedu1-10/+12
2010-12-28a colon is not needed here;jmc1-3/+3
2010-12-271) Fix the pseudo-code explaining cross-filesystem moves.schwarze1-16/+31
2010-09-03add an EXIT STATUS section for /bin;jmc1-3/+3
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc1-3/+3
2008-10-21various doc fixes related to how mv handles symlinksjmc1-6/+12
2008-05-26get the argument name right; from Jacek Masiulaniecjmc1-3/+3
2007-07-27Separate code a little, making it clearer. From Gilles Chehaderay1-6/+10
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-29- consistent STANDARDS blurbjmc1-3/+3
2007-02-16Allow moving files starting with a dash acrossmoritz1-4/+4
2006-08-10- use .Exjmc1-14/+12
2006-08-10better explanation of second synopsis form; add a caveat alsojmc1-9/+27
2005-06-30Set tv_usec sensibly when calling utimes() instead of just zeroing it.millert1-5/+4
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondjaredy1-3/+3
2004-12-13Use warnx() instead of warn() in four places where we know errno is zero.otto1-6/+6
2003-07-29spacingderaadt1-3/+3
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert3-19/+7
2003-03-21Fix some typos in comments; Patrick Latifimillert1-4/+4
2003-03-13Use the return value of strcpy() to detect ENAMETOOLONG instead ofmillert1-4/+3