[GH-ISSUE #3878] cp -f overwritting not working #2673

Closed
opened 2026-02-27 00:53:50 +03:00 by kerem · 1 comment
Owner

Originally created by @marcosghersi on GitHub (Mar 31, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3878

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.72.48-win-x64-installer.exe

Platform detail (平台详情)

windows 11 64

What steps will reproduce the bug?(重新问题的详细步骤)

Case: having a file pru.txt with some content and a file within a folder kk/pru.txt with a different content, if I type
cp -f pru.txt kk/. and confirm overwritting, it is not overwritten, original content of kk/pru.txt continues there and the date os the file has not changed.

What should have happened?(期望的结果)

File should have been overwritten, but it has not.

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @marcosghersi on GitHub (Mar 31, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3878 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.72.48-win-x64-installer.exe ### Platform detail (平台详情) windows 11 64 ### What steps will reproduce the bug?(重新问题的详细步骤) Case: having a file pru.txt with some content and a file within a folder kk/pru.txt with a different content, if I type cp -f pru.txt kk/. and confirm overwritting, it is not overwritten, original content of kk/pru.txt continues there and the date os the file has not changed. ### What should have happened?(期望的结果) File should have been overwritten, but it has not. ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem closed this issue 2026-02-27 00:53:50 +03:00
Author
Owner

@zxdong262 commented on GitHub (Mar 31, 2025):

electron app can not decide cp function's behavior

<!-- gh-comment-id:2765502024 --> @zxdong262 commented on GitHub (Mar 31, 2025): electron app can not decide cp function's behavior
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2673
No description provided.