Files which can't be deleted

I have some files on my Desktop which seem to be blank dummies relating to valid files which I can't get rid of. But the system says they can't be added to trash because they can't be deleted. They can't be moved around the desktop screen either. Empty, unmoveable and can't be deleted!

Any advice would be appreciated. MacOS is High Sierra

iMac, macOS 10.13

Posted on Jul 30, 2023 10:55 AM

Reply
1 reply

Jul 30, 2023 11:34 AM in response to System360

Start with this...


Safe Boot, (holding Shift key down at startup), does the problem occur in Safe Mode? Could take 10 minutes or more.


Safe mode attempts to repair Disks & clears lots of caches & loads safe Drivers, & prevents loading of 3rd party extensions, so if Safe Mode works try again in regular boot.


Let’s see if there’s a locked file interfering.

Open Terminal & paste this command in & prefs enter, it’ll ask for an admin password & not echo what you type, wait for it to finish which will be an empty prompt unless it prints out some locked files, or Operation not permitted…

cd /;sudo find . -type f -flags +uchg


Or thanks to VikingOSX, the Home folder is quicker..

find $HOME -type f -flags +uchg \( ! -path "$HOME/Library/*" \) -prune


https://discussions.apple.com/thread/254749114?answerId=258858927022#258858927022

how can I find my locked files - Apple Community


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Files which can't be deleted

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.