Which character should I use in a Windows/Linux directory name to place it at the top of an alphabetically sorted list?

GardenVarietyAnxiety@lemmy.world to Asklemmy@lemmy.ml – 20 points –

Currently I'm using #, but it causes issues with certain applications.

Example:

#Top Folder
Games
Music
New Folder
Pics

Currently using mostly Windows, but trying to transition to Linux, so a solution that works for both would be perfect.

Thanks, Lemmy!

16

You are viewing a single comment

I use ! to sort to top, and Ω to sort to bottom. So far haven't had any compatibility problems.

For the curious: the use case for this is when you want to reduce nesting but also want a sort of "soft hierarchy" within a folder. I could separate my music folder into albums and playlists, but then I'd have a mostly empty folder, so instead I put both in the same directory and use prefix naming to sort them.

This is an exact answer to the question and yet reading it makes my skin crawl. TIL I have opinions on file organization!

I don't usually "pin to top" or "pin to bottom" but I often have pseudo-folders that use a similar approach, for instance

  • Healthcare
  • Mail
  • Taxes 2020
  • Taxes 2021
  • (etc)
  • Work 2020 (Name of job)
  • Work 2021 (Name of job)
  • (etc)