1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-08 19:04:20 +00:00

fix: handle dotfiles in Trash cleanup (#395)

Replace glob pattern with find command to properly clean dotfiles
in Trash when osascript fallback is used. The old pattern
~/.Trash/* does not match files starting with "." in bash.

This fix ensures that hidden files like .DS_Store, .hidden_file,
etc. are properly removed when cleaning the Trash.
This commit is contained in:
dekran
2026-01-31 16:37:22 +07:00
committed by GitHub
parent b8e15b1c16
commit dcac6a3391
3 changed files with 29 additions and 4 deletions

View File

@@ -150,4 +150,3 @@ func TestLargeFileHeap(t *testing.T) {
}
})
}