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

recursive_move 会覆盖已经存在的文件 #7382

Open
4 tasks done
wenchongyang opened this issue Oct 24, 2024 · 1 comment
Open
4 tasks done

recursive_move 会覆盖已经存在的文件 #7382

wenchongyang opened this issue Oct 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@wenchongyang
Copy link

wenchongyang commented Oct 24, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.38.0

Driver used / 使用的存储驱动

local

Describe the bug / 问题描述

recursive_move 会覆盖本地已经存在的文件,需要做文件存在限定

Reproduction / 复现链接

recursive_move

Config / 配置

默认配置

Logs / 日志

No response

@wenchongyang wenchongyang added the bug Something isn't working label Oct 24, 2024
@wenchongyang
Copy link
Author

wenchongyang commented Oct 24, 2024

alist/drivers/local/driver.go line:240
err := os.Rename(srcPath, dstPath) 会覆盖本地已经存在文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant