aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If /tmp and /home were different partitions, then "mv /tmp/file /home/file"landley2005-07-201-3/+3
| | | | | | | | | | would delete /home/file even if /tmp/file didn't exist. This fixes that, although the logic of both mv and cp is a bit tangled and should probably be untangled. git-svn-id: svn://busybox.net/trunk/busybox@10868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use return instead of exit, use == instead of & ==, left justify labels,bug12004-02-211-33/+29
| | | | | | | adjustment of whitespace. git-svn-id: svn://busybox.net/trunk/busybox@8530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-201-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-115/+88
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.kraai2001-10-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote rm.kraai2001-04-241-16/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use generic flag names.kraai2001-04-241-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite cp and mv to be SUSv2 compliant.kraai2001-04-231-0/+183
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-112/+0
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix cp and mv so 'cp foo/README bar' where foo and bar are directories,erik2000-01-081-1/+6
| | | | | | | | and README is a file. -Erik git-svn-id: svn://busybox.net/trunk/busybox@296 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed mv so it now does the right thing (same method used in cp). Removederik1999-12-291-41/+41
| | | | | | | | some cruft from cp. -Erik git-svn-id: svn://busybox.net/trunk/busybox@268 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed cp so it works as God intended it to.erik1999-12-291-10/+32
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-11-161-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to usage, and made tar work.andersen1999-11-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up copyright notices and suchandersen1999-10-201-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@49 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff.andersen1999-10-181-2/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@34 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More fixesandersen1999-10-181-40/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@30 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some fixes and suchandersen1999-10-171-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@29 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff.andersen1999-10-091-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more stuffandersen1999-10-071-29/+75
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial revisionandersen1999-10-051-0/+38
git-svn-id: svn://busybox.net/trunk/busybox@5 69ca8d6d-28ef-0310-b511-8ec308f3f277