SUPERCILEX / fuc

Modern, performance focused unix commands
Apache License 2.0
340 stars 8 forks source link

Support deep --force for cpz? #9

Closed SUPERCILEX closed 1 year ago

SUPERCILEX commented 1 year ago

Currently if you --force a directory, copying will still fail with a file exists error. In theory it should be easy to support ignoring those errors when force is used, but I don't know how to handle the edge cases. For example, what happens if a file name conflicts with a directory name? Do we delete the directory before creating the file? That's scary to me.

Need to check what cp does.