aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cp.c
AgeCommit message (Expand)Author
2024-01-26Various help fixes.Elliott Hughes
2023-10-01Set DIRTREE_SYMFOLLOW when we followed a symlink to this node.Rob Landley
2023-08-19Copy xattrs for directories too.Rob Landley
2023-07-20mv across partitions should --preserve=allRob Landley
2023-04-01cp: remove unneeded semicolons following one-line function declarationsEthan Sommer
2023-03-03Change FLAG(x) macros to always return 0 or 1. Treewide audit of FLAG()Rob Landley
2022-10-30Various --longopts Antoni Villalonga says are used in package builds.Rob Landley
2022-06-29Add same_file() and same_def_ino() convenience functions, plus minor cleanups.Rob Landley
2022-02-16flags.h can #define its own CLEANUP_ macros for the next #includeRob Landley
2021-12-21Attempt to make --preserve=xattr,context work together and individually.Rob Landley
2021-12-21Fix logic to avoid copying selinux context xattr.Dario Freni
2021-11-26Always test -r and have plumbing set -r for -RRob Landley
2021-07-08Work around a posix violation in the croups filesystem that LTP requires.Rob Landley
2021-04-07Add cp -uRob Landley
2021-03-24Fix install -tEthan Sommer
2021-03-13Commit 3b9cfa70db needed some cleanup I forgot to do, oops. Elliott stumbledRob Landley
2021-02-22Nope, marshalling install -D to cp caused regressions.Rob Landley
2021-02-19Ethan Sommer pointed out that install -Dt needs -D marshalled to cp.Rob Landley
2021-02-19Fix cp -t with one argument and make --parents work with -t.Rob Landley
2021-02-11Add -t to cp and mv.Rob Landley
2021-02-10Add install -tRob Landley
2020-08-23mv should only prompt for file being unwriteable when stdin is a tty.Rob Landley
2020-08-23Peter McConalogue pointed out that cp/mv -i prompt should default N.Rob Landley
2020-08-21Fix cp -P to not follow symlinks.Martin Stjernholm
2020-03-08cp: fix -D (--parents) (REWORK MINIMAL FIX)Jarno Mäkipää
2020-03-03Remove another command sub-option.Rob Landley
2020-01-24cp/mv: add -T.Elliott Hughes
2019-10-28cp: treat a directory name with a slash at the end the same as one without a ...William Haddon
2019-10-21Use FLAG() macros more.Rob Landley
2019-10-21Remove getdirname(), it's _not_ a drop-in replacement for dirnameRob Landley
2019-07-10dd: iflags, oflags, fix ^C, fix the fundamental loop.Elliott Hughes
2019-06-23Switch cp.c to FLAG() macros.Rob Landley
2019-06-22Fix mv with trailing slash in source.Denys Nykula
2019-06-21Fix cp -r dir/. symlink child.makepost
2019-06-08macOS: numerous fixes.Elliott Hughes
2019-03-27Change fileunderdir() to return abspath to file.Rob Landley
2019-03-13Use defined constants for mkpathat.Hadrian Węgrzynowski
2019-03-02Improve help consistency.Elliott Hughes
2019-01-12Fix cp permissions when copying symlink contents, and add test.Rob Landley
2018-12-11Implement --preserve default = mot behavior (fixes segfault when no argument).Rob Landley
2018-12-04Clean up some --help formatting.Elliott Hughes
2018-11-17Volodymyr Medvid reported that install -d doesn't honor -o or -g.Rob Landley
2018-08-31Convert option style.Rob Landley
2018-04-12Fix "cp -p" doesn't preserve timestamps bugMinghui Liu
2018-04-08Add cp --parentsRob Landley
2017-01-28Add missing `static`s and remove an unused function.Elliott Hughes
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.Rob Landley