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

HXGuy

macrumors 68000
Original poster
Mar 25, 2010
1,679
0
You know how the HD and any drives/memory cards appear first on the desktop and always stay there?

Is there a way to assign this function to certain folders/files?

I currently have it set to arrange by date modified, so the newest modified folder/file is first on the list...which I like...but there are some folders/files that I use very regularly that I would like to stay at the top all the time.

Any way to do that?
 
Unless you've set the Desktop items to keep arranged by type/kind etc, you can just arrange them manually and the Finder won't move them again.
 
I like to have them arranged by "Date Modified" but wanted to know if there is any way to exclude certain folder/files from being arranged with the rest, so they always stay at the top.
 
There's no easy way that I'm aware of. If you didn't mind an ugly hack, you could use the Terminal to set the modified date of those folders to be some date in the distant future, such that they'll always be arranged at the top if arranged by Date Modified.

I'm not sure if the Finder would auto-correct the dates at some point.
 
There's no easy way that I'm aware of. If you didn't mind an ugly hack, you could use the Terminal to set the modified date of those folders to be some date in the distant future, such that they'll always be arranged at the top if arranged by Date Modified.

I'm not sure if the Finder would auto-correct the dates at some point.

I wouldn't mind...how would I go about doing that with Terminal?
 
Code:
touch -mt 202001010000 "/Users/username/Desktop/Folder Name"
This would do it - it sets the date modified to midnight 01/01/2020; but I've just tried it and as soon as you make a change to that folder it'll just correct the date modified.. so unless you're not making changes to that folder it won't really work, sorry.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.