cp command prompts on overwrite even with -f October 8, 2022 by Tarik Maybe your cp command is an alias? Try: \cp -uf file folder/