Giter Site home page Giter Site logo

Comments (14)

88250 avatar 88250 commented on June 7, 2024 1

我记得是文件名后面加随机数

from siyuan.

88250 avatar 88250 commented on June 7, 2024 1

其他的是通过浏览器下载,浏览器会自动处理。

from siyuan.

TCOTC avatar TCOTC commented on June 7, 2024

要是导出的目录下存在同名文件,也需要提示

from siyuan.

88250 avatar 88250 commented on June 7, 2024

要是导出的目录下存在同名文件,也需要提示

这个请单独开 issue。

from siyuan.

88250 avatar 88250 commented on June 7, 2024

要不咱直接改为发现同名文件就自动重命名,比如 xxx - 1.pdf 这样的?

from siyuan.

TCOTC avatar TCOTC commented on June 7, 2024

合理

from siyuan.

TCOTC avatar TCOTC commented on June 7, 2024

我建议是这样:

  • xxx.pdf
  • xxx(2).pdf
  • xxx(3).pdf

不要 xxx(1).pdf

判断存在 xxx.pdf 后继续判断是否存在 xxx(2).pdf ...


不只是导出 PDF ,其他导出可能也要

from siyuan.

88250 avatar 88250 commented on June 7, 2024

那就不存在 #11358 的问题了,抱歉麻烦你了。

from siyuan.

TCOTC avatar TCOTC commented on June 7, 2024

@88250 有个问题,现在批量导出 Markdown 时如果存在同名文件是怎么处理的?

from siyuan.

TCOTC avatar TCOTC commented on June 7, 2024

我记得是文件名后面加随机数

image

from siyuan.

88250 avatar 88250 commented on June 7, 2024

哦哦,加的是文档 ID。

from siyuan.

88250 avatar 88250 commented on June 7, 2024

@Vanessa219 /api/file/getUniqueFilename

from siyuan.

TCOTC avatar TCOTC commented on June 7, 2024

If a file with the same name exists during export PDF/Docx, it will be automatically renamed

那除了 PDF/Docx 之外的是不需要吗?

from siyuan.

88250 avatar 88250 commented on June 7, 2024

导出 docx 不再删除已经存在的文件 #8822

from siyuan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.