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

Đang mở
#89 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Python
Star
118
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/bulky

Tất cả issue của linuxmint/bulky

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.