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

可否增加通过用户的自定义脚本实现不同存储体之间文件或文件夹的复制 #7582

Closed
4 tasks done
dycfan666 opened this issue Nov 29, 2024 · 2 comments
Closed
4 tasks done
Labels
enhancement New feature or request

Comments

@dycfan666
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

目前,存储之间的复制只能通过web GUI实现。这对绝大多数小白无疑是友好的。但是,对于需要进行自动化运维的用户多少有些繁琐。因此,建议能增加一个功能:通过用户编写自定义脚本(python或者nodejs)来实现不同存储之间的文件(文件夹)复制。如

Suggested solution / 实现思路

提供一个与挂载的存储体接口相关的指导文档,由用户自行编写脚本(python或者nodejs),实现不同存储之间文件(文件夹)的复制(包括但不限于)。

Additional context / 附件

无需任何附件了

@dycfan666 dycfan666 added the enhancement New feature or request label Nov 29, 2024
@ykxVK8yL5L
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

目前,存储之间的复制只能通过web GUI实现。这对绝大多数小白无疑是友好的。但是,对于需要进行自动化运维的用户多少有些繁琐。因此,建议能增加一个功能:通过用户编写自定义脚本(python或者nodejs)来实现不同存储之间的文件(文件夹)复制。如

Suggested solution / 实现思路

提供一个与挂载的存储体接口相关的指导文档,由用户自行编写脚本(python或者nodejs),实现不同存储之间文件(文件夹)的复制(包括但不限于)。

Additional context / 附件

无需任何附件了

https://alist.nn.ci/zh/guide/api/fs.html#post-%E5%A4%8D%E5%88%B6%E6%96%87%E4%BB%B6
多看看文档

@dycfan666
Copy link
Author

非常感谢提醒!经过认真学习api文档,已经完美实现不同存储体之间文件和文件夹的复制与移动。

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

No branches or pull requests

2 participants