Re: [PATCH v2] cp: Add --keep-directory-symlink option

2024-02-22 Thread Pádraig Brady
Made a few tweaks as per `make syntax-check`, added a NEWS entry and pushed. thank you, Pádraig

Re: [PATCH v2] cp: Add --keep-directory-symlink option

2024-02-21 Thread Daan De Meyer
> > When recursively copying files into OS trees, it often happens that > > some subdirectory of the source directory is a symlink in the target > > directory. Currently, cp will fail in that scenario with the error: > > > > "cannot overwrite non-directory %s with directory %s" > > > > However, we'

Re: [PATCH v2] cp: Add --keep-directory-symlink option

2024-02-21 Thread Dragan Simic
Hello Daan, On 2024-02-21 13:37, Daan De Meyer wrote: When recursively copying files into OS trees, it often happens that some subdirectory of the source directory is a symlink in the target directory. Currently, cp will fail in that scenario with the error: "cannot overwrite non-directory %s w

[PATCH v2] cp: Add --keep-directory-symlink option

2024-02-21 Thread Daan De Meyer
When recursively copying files into OS trees, it often happens that some subdirectory of the source directory is a symlink in the target directory. Currently, cp will fail in that scenario with the error: "cannot overwrite non-directory %s with directory %s" However, we'd like cp in this scenario

[PATCH v2] cp: Add --keep-directory-symlink option

2024-01-25 Thread Daan De Meyer
When recursively copying files into OS trees, it often happens that some subdirectory of the source directory is a symlink in the target directory. Currently, cp will fail in that scenario with the error: "cannot overwrite non-directory %s with directory %s" However, we'd like cp in this scenario