coreutils
coreutils copied to clipboard
cp: --force is not implemented on Windows
The --force option is not yet implemented on Windows.
$ cp --force src dest
cp: Option 'force' not yet implemented.
Originally posted by @sylvestre in https://github.com/uutils/coreutils/issues/3966#issuecomment-1254593732
Is there a reason that this option specifically is not implemented on windows?
probably not
C:\coreutils-0.0.26-x86_64-pc-windows-msvc\coreutils-0.0.26-x86_64-pc-windows-msvc>coreutils cp -sf c:\d2\d.txt c:\data cp: Option 'force' not yet implemented.
meanwhile, the following command is already working :
C:\coreutils-0.0.26-x86_64-pc-windows-msvc\coreutils-0.0.26-x86_64-pc-windows-msvc>coreutils ln -sf c:\d2\d.txt -t c:\data
I would be very interesting to have this cp --force feature implemented for Windows too.