I realized I always make a source folder under home and then subfolders named after programming languages to organize projects but then I realized I somehow had my own convention for how to store my source code and I have no idea where I got it from

Then I thought. what about other Linux users ?

What sorts of conventions do you have that pertains to folder structure in Linux ?

  • treep@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    2 days ago

    ~/diy for my collection of knitting, crochet and sewing patterns and other assorted diy stuff

    ~/work duh.

    ~/tools for my collection of more or less useful small scripts

    ~/sync for my syncthing folders

    ~/data symlink to my data partition (most of the others are also symlinks to their location on data)

    I don’t really have a convention for programming projects yet. They used to land inside of ~/diy or in ~/tools or just random folders on data. I’ve got a ~/code folder now, but its contents are a mess.

    • VoxAliorum@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      Always backup your tools folder… In the past I only created backups for my “real” code folder and I was quite upset when I lost my small scripts in the last drive death.