Code Monkey home page Code Monkey logo

Comments (8)

xsm1997 avatar xsm1997 commented on June 20, 2024

这个的逻辑就是这样,如果你选择了进入某一个目录,无论识别对不对,都会生成硬链接。只不过在你选择识别不对的情况下,应该是会以原本的文件名,在目标文件夹内生成硬链接。我这里这个逻辑工作正常,麻烦再尝试几次,然后提供更多信息。
我之后有时间会加入一个选项,让用户选择是否创建硬链接。

from animelinker.

xsm1997 avatar xsm1997 commented on June 20, 2024

而且,我有加入防止重名导致覆盖的判断,你这个(2)应该是你文件夹内有不带括号的原本文件,为了防止覆盖,才会生成带序号的硬链接。

from animelinker.

cornjosh avatar cornjosh commented on June 20, 2024

感谢回复!

而且,我有加入防止重名导致覆盖的判断,你这个(2)应该是你文件夹内有不带括号的原本文件,为了防止覆盖,才会生成带序号的硬链接。

关于这个,文件夹内没有重名文件:

image

运行是在 windows 下通过 SMB 访问并创建 hard link

from animelinker.

xsm1997 avatar xsm1997 commented on June 20, 2024

这个结果比较奇怪,你能给我一下运行的命令吗?我尝试复现一下

from animelinker.

xsm1997 avatar xsm1997 commented on June 20, 2024

试试不把源目录和目标目录设置成同一个,看看能否复现?

from animelinker.

cornjosh avatar cornjosh commented on June 20, 2024

这个结果比较奇怪,你能给我一下运行的命令吗?我尝试复现一下

好的,以下

main.exe --src "\\Tower\video\download\anime\[Snow-Raws] ReLIFE" --dst "\\Tower\video\download"

输入 Y 时文件名没有问题, N 时会有重命名情况

from animelinker.

xsm1997 avatar xsm1997 commented on June 20, 2024

已修复,这回加上了选项,请再次测试,谢谢。

from animelinker.

cornjosh avatar cornjosh commented on June 20, 2024

已经修复了,按预期运行,谢谢

from animelinker.

Related Issues (1)

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.