Denys Vlasenko
|
56bbbfae7d
cp: implement -n
|
3 years ago |
James Byrne
|
6937487be7
libbb: reduce the overhead of single parameter bb_error_msg() calls
|
5 years ago |
Denys Vlasenko
|
3060992ec9
libbb: fix use-after-free in copy_file
|
6 years ago |
Denys Vlasenko
|
79fb6ac7a5
cp: optional --reflink support
|
6 years ago |
Denys Vlasenko
|
77cb6b99a4
libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation
|
6 years ago |
Denys Vlasenko
|
bc9bbeb2b8
libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1
|
7 years ago |
Denys Vlasenko
|
98c50f93fe
cp: fix -i for POSIX mode. Closes 9106
|
8 years ago |
Denys Vlasenko
|
ca003385f1
cp: make verbose cp show symlink copies too
|
8 years ago |
Denys Vlasenko
|
877dedb825
cp: add -u/--update and --remove-destination
|
8 years ago |
Denys Vlasenko
|
17f8418ea7
Add conditional support for -v / --verbose
|
10 years ago |
Denys Vlasenko
|
aa4f9a2fd8
libbb/copy_file.c: use smallints instead of signed chars
|
14 years ago |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 years ago |
Denys Vlasenko
|
0cd445f4d1
cosmetic fixes
|
15 years ago |
Denys Vlasenko
|
a40f0624db
cp: fix -H handling
|
15 years ago |
Denys Vlasenko
|
dcbfaba264
fix improper utimes usage
|
15 years ago |
Denys Vlasenko
|
389cca4b9e
some non-gnu compilers can't have non-const struct initializers
|
15 years ago |
Bernhard Reutner-Fischer
|
a307af1af6
use utimes() rather than obsolescent utime()
|
15 years ago |
Denys Vlasenko
|
6331cf059c
*: use "can't" instead of "cannot"
|
15 years ago |
Denys Vlasenko
|
6f58be0748
cp: make "non-POSIX" cp a bit more consistent
|
15 years ago |
Denys Vlasenko
|
2d7b5bfa9b
cp: by popular demand, make it POSIX compliant (but less safe)
|
15 years ago |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
16 years ago |
Denis Vlasenko
|
b9ad75fa60
copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.
|
16 years ago |
Denis Vlasenko
|
d5fe880a57
cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470
|
17 years ago |
Denis Vlasenko
|
a9335eafcf
cp: make it a bit closer to POSIX, but still refuse to open and
|
17 years ago |
Denis Vlasenko
|
fa05074eee
cp: make "cp file /dev/node" special case; explained in comments
|
17 years ago |
Denis Vlasenko
|
0f214ecef0
cp: fix recursion check to not waste bytes remembering names of dirs
|
17 years ago |
Denis Vlasenko
|
8a5fab6333
cp: detect and prevent infinite recursion
|
17 years ago |
Denis Vlasenko
|
30bab71f7b
make copy_file() a bit easier to understand, and smaller
|
17 years ago |
Denis Vlasenko
|
3d829627fb
cp: make POSIX-me-harder mode complain with a bit less insane message
|
17 years ago |
Denis Vlasenko
|
7510384107
do not do utime() on links, it acts on link targets, and we don't want that.
|
17 years ago |