summaryrefslogtreecommitdiff
path: root/bin/mv
AgeCommit message (Expand)Author
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
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-12more .LiTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-02-18change -pr to -PRp (ok mpech@, millert@)Mark Grimes
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-11Initial patch.Mike Pechkin
2002-01-25Stat source path at the top of do_move() and return an error ifTodd C. Miller
2002-01-16missed some registers, kill'em!Mike Pechkin
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin