Change Case option doesn't seem to work on an SMB share

未关闭
#89 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
desktop

调研方向

Start by tracing how Bulky applies the Change Case Title Case option and handles rename errors; the issue names no source files or tests. Reproduce the rename on an SMB share and compare it with a local file. Done means case changes succeed on the share without reporting that the existing filename conflicts.

由索引模型根据 Issue 内容生成。

描述

I know Linux users historically like command line utils, but I like a GUI when it gives more options. File renaming is a case in point and although it took me a few tries to get to grips with Bulky, it can do about 70% of what I commonly use Bulk Rename for in Windows.

However, having become used to it being quick and easy I downloaded files direct to an SMB share (why download to my PC then upload to the server, do it direct!).
I then attempted to change the name on the files. I wanted to Capitalise various bits of the filename, so the Change Case Title Case option does this nicely.
However while it works fine on files on my local machine and it can do many of the other rename functions, iit completely barfs on the files on the SMB share. I get the error message
Unable to rename can't rename file, filename already exists.

The same behaviour can be seen if I access the files via a mount point in the file system that mounts the server share directly at boot.

Clearly this suggests something to do with the fact that it's an SMB share and case sensitivity on the rename but why?

All I can find through searching that's relevant are old posts about an SMB parameter (case sensitive = yes) that was an SMBv1 thing therefore shouldn't apply with v2 and 3

If it makes a difference it's a TrueNAS server, current version of appliance, having taken all the default options when setting up the share.

Anyone else encountered this and found a way round?

主要语言
Python
星标
118
派生
22
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxmint/bulky 的其他 Issue

查看 linuxmint/bulky 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。