Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kimjohnsson

macrumors member
Original poster
Aug 13, 2013
58
8
Hi all!

All of a sudden all my files I had on my desktop seemed to disappear. I thought I might have removed them by mistake, but apparently they are still there. I can see them using Terminal, and creating a new file with the same name as one that already exists there leads to what you would expect in that situation. There are both files and folders that have seemingly disappeared, and there's really nothing special about them. Some mp3's and a couple of other random files. I chmod 777:ed them all, but they still don't show up.

I created a new folder onto the desktop and moved the files there using Terminal. Now they are in the folder, but Finder doesn't show them.

In TimeMachine they don't show up either, until I go back a couple of steps, when they suddenly do show up.

How do I get them to show again?

Cheers,

Kim
 

KALLT

macrumors 603
Sep 23, 2008
5,376
3,411
Have you rebooted your Mac since? This may be a glitch in Finder. There is a function that hides all icons too, which you could reverse with:
Code:
defaults delete com.apple.finder CreateDesktop && killall -QUIT Finder
 

Floris

macrumors 68020
Sep 7, 2007
2,381
1,473
Netherlands
Check the ownership, if you used chmod, try ls -all and see who owns the files vs 'whoami' as you make a new file and compare. chown command lets you also update the owner and group of the said files.
best of luck. I doubt this is it. It feels like a permission glitch in a plist file or something, cmd/opt/esc and restart finder didn't do the trick either?
 

kimjohnsson

macrumors member
Original poster
Aug 13, 2013
58
8
- Have rebooted
- Same user

I'll try to look into the suggested actions later this evening

Thanks,

Kim
 

kimjohnsson

macrumors member
Original poster
Aug 13, 2013
58
8
- Have rebooted
- Same user

I'll try to look into the suggested actions later this evening

Thanks,

Kim

Hi guys,

didn't try any suggestions yet, but I just tried to copy a file to the folder on my desktop here I moved the invisible files. The file I'm copying has the same name as one of the invisible files in that folder. I get this message when trying to copy: The item "xxx.mp3" can't be replaced because it's invisible.

So there's an error message for it, at least :)

Cheers,

Kim
 

Merrie

macrumors newbie
Sep 2, 2016
4
0
Did you ever get this resolved? I'm having a similar problem. Thanks!
 

KALLT

macrumors 603
Sep 23, 2008
5,376
3,411
@Merrie: Try the command I posted above. Also try this one and see whether there is any indiction of ‘hidden’.
Code:
ls -laO ~/Desktop
 

kimjohnsson

macrumors member
Original poster
Aug 13, 2013
58
8
Did you ever get this resolved? I'm having a similar problem. Thanks!
Hi!

No, I've been busy with other things. I thought I'd simply restore them from TimeMachine backup. I know, the lazy approach...

But I just tried the ls -laO ~/Desktop -command as suggested above, and all files are explicitly labeled as hidden.

In any case, what can I have done to make this happen? Is there some keyboard shortcut I might have used by mistake?

Cheers,

Kim
 

KALLT

macrumors 603
Sep 23, 2008
5,376
3,411
I am not sure how it happened. Some program must have set the hidden-flag there. You can easily reverse this with the command:
Code:
chflags -R nohidden ~/Desktop
 

kimjohnsson

macrumors member
Original poster
Aug 13, 2013
58
8
I am not sure how it happened. Some program must have set the hidden-flag there. You can easily reverse this with the command:
Code:
chflags -R nohidden ~/Desktop

OK, just did that. Finders shows them now. Problem solved.

Thanks :)

Cheers,

Kim
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.