this post was submitted on 15 May 2024
20 points (95.5% liked)

Asklemmy

43891 readers
789 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

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!

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 6 months ago
[–] [email protected] 3 points 6 months ago

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.

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago)

A folder 1

AA folder 2

AAA folder 3

Who cares about readability and logic. My outlook work archives are a mess.

[–] [email protected] 1 points 6 months ago

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 because A 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.

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago) (1 children)

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.

[–] [email protected] 5 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 months ago

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)
[–] [email protected] 7 points 6 months ago

You could always do:

1_Pics
2_New Folder
3_Music
4_Games
[–] [email protected] 3 points 6 months ago

@

Because why go for the obvious

[–] [email protected] 3 points 6 months ago

I use exclamations in Windows ("!!first" will be sorted above "!second" for example)

and "I’m curious what’s the need for the folder to be sorted first that something like folder pinning or tagging"

Not sure what "tagging" would be in a windows perspective, does it have that? and "pinning" could be using the Quick Access bar I guess which I do for folders I want access to GLOBALLY, but if I have many sub-folders, and in the context of THAT FOLDER I am interested in several more than the rest, but outside that folder I don't care less about them, I'll use exclamations so I can find them easier

(Example, I have a TTRPG folder of art assets for maps from dozens of different sources, each with own naming conventions, and two folders !!Sorted and !Working, as I slowly go though the list to find, name, sort, discard and otherwise clean up the list so I can find what I want. If it was called "Sorted" it would be in the middle of the folder structure and a pain to find when I need it, but I also NEVER NEED that sub-folder unless I am working on cleaning up/sorting that data)

[–] [email protected] 3 points 6 months ago (1 children)

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?

[–] [email protected] 1 points 6 months ago (1 children)

Can you do that from a terminal?

[–] [email protected] 1 points 6 months ago

tracker-tag works

[–] [email protected] 24 points 6 months ago (2 children)

Generally underscore _ works best for this, and should be viable for both OSes.

[–] [email protected] 1 points 6 months ago

Yes, underscores or leading digits (for ordering eg. 000_ 001_ 002_) works well.

[–] [email protected] 2 points 6 months ago

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