trash-cli
trash-cli copied to clipboard
Don't show entries from bind mounts
Is your feature request related to a problem? Please describe.
trash-list shows entries from bind mounts, resulting in multiple entries for the same file.
Describe the solution you'd like Don't show entries from bind mounts in order to avoid duplicate entries.
@Sadi58 thank you for your contribution, please create a new issue when you need to explain a different problem. I created a new issue with your comment #341 and I deleted the comment your made in this issue.
@rieje please submit an example of what actually happen on you machine.
Sorry for late reply.
I have bind mounted ( from /etc/fstab):
/home/rieje/downloads /home/rieje/.firejail/downloads
I trashed /home/rieje/downloads/file.mp4. In trash-list it shows duplicate entries:
2024-10-26 16:31:15 /home/rieje/downloads/file.mp4
2024-10-26 16:32:11 /home/rieje/.firejail/Downloads/file.mp4
It would be more appropriate to only show:
2024-10-26 16:31:15 /home/rieje/downloads/file.mp4