Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能/FEATURE] 增加类似“.gitignore”的文件排除功能 #165

Open
YsMicro opened this issue Nov 25, 2024 · 2 comments
Open

[功能/FEATURE] 增加类似“.gitignore”的文件排除功能 #165

YsMicro opened this issue Nov 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@YsMicro
Copy link

YsMicro commented Nov 25, 2024

新功能描述 Describe the feature

我希望能够增加类似“.gitignore”的功能,用来排除一些不想备份的文件

应用场景简述 Application scenario

我想备份我的“retroarch”模拟器的存档,由于一些模拟器本身的原因,“saves”文件夹下存在许多事实上和存档数据无关的文件。

Snipaste_2024-11-25_23-42-49
Snipaste_2024-11-25_23-45-06

@YsMicro YsMicro added the enhancement New feature or request label Nov 25, 2024
@mcthesw
Copy link
Owner

mcthesw commented Nov 25, 2024

这个功能对有更细致文件选择需求的人来说非常有用。我想到最简单的解决方案就是前端显示中做一个树状的文件选择器,然后保持目前软件的内部结构不变(不过如果文件夹内文件可能产生增减的话这个方案不靠谱);更优雅一点的是实现一个反选功能,这样可能需要修改已有的结构,你觉得做到哪一步比较好呢?
我想可能还是后者好一些,具体实现需要一定时间开发

@1nkwell
Copy link

1nkwell commented Dec 8, 2024

和 .gitignore 一样就好了,可以借鉴git的代码实现 @mcthesw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants