aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cp.c
AgeCommit message (Expand)Author
2016-08-18Change xgetpwnamid/xgetgrnamid to xgetuid/xgetgid returning the id numberRob Landley
2016-06-15Add readlink0() and readlinkat0() which null terminate the data.Rob Landley
2016-06-09Fix dangling link after cp commandKyungsik Lee
2016-05-31In cp -a, don't complain if non-root user can't chown, failure is expected.0.7.1Rob Landley
2016-05-30Add output path to cp error message filenames.Rob Landley
2016-03-30Whitespace and comment.Rob Landley
2016-03-30Implement mv -n / cp -n (no clobber).Andy Chu
2016-03-12Update scripts/single.sh and cp.c so "make mv" isn't actually building cp.Rob Landley
2016-03-12The xattr functions were added during the 2.5 kernel, lsm.h can #include theRob Landley
2016-03-07Cleanup pass on the dirtree infrastructure, in preparation for making rm -rRob Landley
2016-02-01Fix directory test in cp.Elliott Hughes
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2015-12-22First guess at cp xattr support, ala --preserve=context,xattrRob Landley
2015-12-22Convert cp from magic constants to TAGGED_ARRAY()Rob Landley
2015-10-27Install without a mode should use 0755, and check FLAG_preserve instead ofRob Landley
2015-09-07Remove prompt argument from yesno(), caller can fprintf(stderr, "blah") itself.Rob Landley
2015-08-30Fix mv on overwrite.Elliott Hughes
2015-07-03First pass on cp --preserveRob Landley
2015-05-10Cleanups of dirtree_start() calls. (Don't need to feed in flag values, justRob Landley
2015-05-09Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out fromRob Landley
2015-03-21install -D bugfix from David Halls.Rob Landley
2015-03-12Make install support numeric uid/gids (reported by Kylie McClain).Rob Landley
2015-03-01Patches from Elliott Hughes to fix various printf() format strings.Rob Landley
2015-02-15Add --remove-destination longopt for -F because the host version doesn't have...Rob Landley
2014-12-31When CP_MORE was disabled, the d flag was still in the [-exclusion] list at t...Rob Landley
2014-12-18Decouple cp and mv so mv uses its own --help text.Rob Landley
2014-11-22As long as Android's going to require fortify, fixup the warnings it generates.Rob Landley
2014-10-14Fix last night's mv commit (use dest, not source).Rob Landley
2014-10-14Implement mv -f and -i.Rob Landley
2014-10-09Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysi...Rob Landley
2014-09-14Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ...Rob Landley
2014-09-01Add cp -F to force delete of existing destination files, and make install com...Rob Landley
2014-08-16Add install to cp/mv.Rob Landley
2014-07-26Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ope...Rob Landley
2014-07-14Implement -HL for cp.Rob Landley
2014-02-04Tweak help text.Rob Landley
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
2013-08-01Need to specify bool for CP_MV_MORE config symbol to avoid warnings.Rob Landley
2013-06-22Implement mv as an extension of cp.Rob Landley
2013-02-10Implement cp -s option.Rob Landley
2013-01-31Fix -in behavior: descend into existing directory without prompting, show ful...Rob Landley
2013-01-18Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without ...0.4.3Rob Landley
2013-01-16Make "sudo cp -rp /dev/null blah" work. Still not happy with it, fchmodat(AT_...Rob Landley
2013-01-12Update -p and -f to apply properly to various conditions. Still some bugs to ...Rob Landley
2013-01-10Teach cp to do -n.Rob Landley
2013-01-09Teach cp to do mknod.Rob Landley
2013-01-07Adapt cp to updated dirtree code.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_c...Rob Landley
2012-08-25Regularize command headers, update links to standards documents.Rob Landley