Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个拖拽上传后,如果服务器上已经存在文件,如何直接覆盖?,现在是会加后缀.0 #7

Open
doulongfei opened this issue May 15, 2024 · 3 comments

Comments

@doulongfei
Copy link

No description provided.

@lonnywong
Copy link
Member

现在需要自己 mv 一下,默认覆盖已有文件不是一个好的做法。

@doulongfei
Copy link
Author

有没有可能加一个配置,有三个选项,默认是现在的行为,另一个是直接覆盖,还有一种是把源文件加上.0类型的数字,使用
这种在开发时,很需要这样的直接覆盖的行为

@lonnywong
Copy link
Member

在服务器上执行 alias trz="trz -y" ,再拖动上传,就会自动覆盖了。注意的是,设置这个 alias 之后,trz 手动上传,也会变成自动覆盖。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants