Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Option to exclude special folders like snapshots or recycle bins

Đang mở
#1,385 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu từ trang cài đặt và hành vi quét được mô tả trong issue. Theo dõi cách .nomedia, .recycle, .zfs và các mask thư mục tùy chỉnh được xử lý, sau đó xác minh rằng các loại trừ đã cấu hình có tính đệ quy và vẫn được loại trừ trong quá trình quét và tự động dọn dẹp.

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

Mô tả

enhancement priority: normal
Describe the feature you'd like to request

Hello,

I would like a feature/option that allows me to exclude certain folders from scanning. I'm familiar with the option to create something like .nomedia, but it's not possible to create such a file in some system folders, or in the case of the Recycle Bin, this file is also deleted during auto-pruning.

Describe the solution you'd like

The solution could be to add a checkbox to the settings page to exclude special folders, such as:

  • .recycle
    (used by SMB/CIFS for recycle bin)
  • .zfs
    (contains the ZFS-Snapshots)
  • "custom"
    (with text box)

These masks should be recursive.

Describe alternatives you've considered

For special system folders, such as .zfs, there is no alternative because not even root has write access to create a .nomedia.

(You can hide the .zfs folder from Nextcloud by disabling snapshot visibility, but then file versioning will no longer work properly.)

Ngôn ngữ chính
PHP
Star
701
Fork
68
Merge trung bình
18 giờ 9 phút
Pull request đã merge (30 ngày)
1

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

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 nextcloud/recognize

Tất cả issue của nextcloud/recognize

Issue tương tự

Thêm issue về PHP

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.