-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
[BUG] Unable to delete all orphaned files #139
Comments
Hi there, so according to the error:
You are trying to remove a file that is locked or probably in use by the system currently. |
"I might need to add a catch to skip files that are locked or in use to the deletion process." |
Describe the bug:
After scanning for orphaned files and Pearcleaner finding about 7Gb, I select all and click the red trash/delete icon but nothing happens.
Steps to reproduce:
Expected behavior:
Pearcleaner trashes all found files.
Info:
Screenshots:
Screen Recording
Console Logs (For app crashes or hard to reproduce issues):
Timestamp Ty Process[PID:TID] 2024-10-25 06:15:55.558 E Pearcleaner[44857:1bad89] [com.alienator88.Pearcleaner:General] Reverse search processed successfully 2024-10-25 06:15:58.515 E Pearcleaner[44857:1bad89] [com.alienator88.Pearcleaner:General] Trash Error: { NSAppleScriptErrorAppName = Finder; NSAppleScriptErrorBriefMessage = "The operation can\134U2019t be completed because the file \134U201c.5c972686e7dc018ebeb91f7f8d6627b83acb782473d48975cf5ef210219c2e6c90b751b183e17a7376214e38d4134f6f312c9e2fe04edbd02399f38c7b1e720c\134U201d is locked."; NSAppleScriptErrorMessage = "Finder got an error: The operation can\134U2019t be completed because the file \134U201c.5c972686e7dc018ebeb91f7f8d6627b83acb782473d48975cf5ef210219c2e6c90b751b183e17a7376214e38d4134f6f312c9e2fe04edbd02399f38c7b1e720c\134U201d is locked."; NSAppleScriptErrorNumber = "-45"; NSAppleScriptErrorRange = "NSRange: {29, 60847}"; }
The text was updated successfully, but these errors were encountered: