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!
Generally underscore _ works best for this, and should be viable for both OSes.
Yes, underscores or leading digits (for ordering eg. 000_ 001_ 002_) works well.
Personally, my brain manages to filter out anything with a leading underscore (I don’t know the origin offhand, I think some system I worked with at some point used those on files that I knew I didn’t care about). So when coworkers use leading underscores it slows me down a bit.
It does work though
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
- Taxes 2020
- Taxes 2021
- (etc)
- Work 2020 (Name of job)
- Work 2021 (Name of job)
- (etc)
@
Because why go for the obvious
Just saying that in Nemo (or whatever the cinnamon file manager is called) you can pin a file/folder to the top through the right click menu, unless I’m remembering wrong. But I haven’t used this feature at all so I don’t know how well it works for any use case.
no judgements but I’m curious what’s the need for the folder to be sorted first that something like folder pinning or tagging doesn’t work for you?
Generally speaking: If you want folders to be on top, do it in your application. You should not prefix folders with “random characters” to make them listed in a specific place.
If you really want to, you could use
A Foldername
becauseA
is the lowest Unicode point character that is a letter (0x41
) You could also use(
0x40
). I’ve seen@Foldername
in the wild a few times. I would not use numbers, because numbers are stupid, you also cannot easily change them if you want to have another folder between two already existing ones.Some applications might ignore non-letter characters (what is interpreted as a letter, depends on your locale) on sorting, though. So the safest would be
A
.