summaryrefslogtreecommitdiff
path: root/bin/mv
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-11-14mv imitates, but no longer uses, cp and rm to cross filesystems.Ted Unangst
2017-06-28add -v to SYNOPSIS and STANDARDS;Jason McIntyre
2017-06-27add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,Ted Unangst
2016-10-11Remove now-unused pathnames.h, from Jan StaryTodd C. Miller
2016-10-10don't need to worry about pre/post order and skipping directories.Ted Unangst
2016-10-10zap extra includesTed Unangst
2016-10-10remove some more dead code. (previous diff from Jan Stary)Ted Unangst
2016-10-10remove some dead code that's only used in rmTed Unangst
2016-02-01stop linking mv(1) to libutil, since that isn't used.Gleydson Soares
2015-12-27remove unused variableCharles Longeau
2015-12-26Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossPhilip Guenther
2015-11-27the rm code in mv inherited pledge from rm. it shoud be safe, but thereTed Unangst
2015-11-17as in rm, needs getpw in pledgeTed Unangst
2015-11-17don't need locale header anymoreTed Unangst
2015-11-17overwriting code isn't usedTed Unangst
2015-11-17remove some more flagsTed Unangst
2015-11-17trim down the flags in rmTed Unangst
2015-11-17remove Rflag and pflag (1) and rflag (0).Ted Unangst
2015-11-17remove getopt() from the nested cp and rm mainsTed Unangst
2015-11-17direct copy of cp and rm code into mv, so it can avoid fork+exec.Ted Unangst
2015-10-06we're running rm. call it rm too.Ted Unangst
2015-08-24In fastcopy(), do the required malloc() before opening input or output file.Philip Guenther
2015-05-03Preserve times to nanosecond precision instead of just microsecond.Philip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-21don't try to be clever and name the _PATH_CP exec "mv", since thisTheo de Raadt
2014-05-21Use errc/warnc to simplify code.Philip Guenther
2012-06-18s/empy/empty/ typo fixMatthew Dempsky
2011-06-16fix error in previous;Jason McIntyre
2011-06-15consistently specify that -f and -i override previous options in eachTed Unangst
2010-12-28a colon is not needed here;Jason McIntyre
2010-12-271) Fix the pseudo-code explaining cross-filesystem moves.Ingo Schwarze
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2008-10-21various doc fixes related to how mv handles symlinksJason McIntyre
2008-05-26get the argument name right; from Jacek MasiulaniecJason McIntyre
2007-07-27Separate code a little, making it clearer. From Gilles ChehadeRay Lai
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
2007-02-16Allow moving files starting with a dash acrossMoritz Jodeit
2006-08-10- use .ExJason McIntyre
2006-08-10better explanation of second synopsis form; add a caveat alsoJason McIntyre
2005-06-30Set tv_usec sensibly when calling utimes() instead of just zeroing it.Todd C. Miller
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
2004-12-13Use warnx() instead of warn() in four places where we know errno is zero.Otto Moerbeek
2003-07-29spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-21Fix some typos in comments; Patrick LatifiTodd C. Miller
2003-03-13Use the return value of strcpy() to detect ENAMETOOLONG instead ofTodd C. Miller