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 ?

  • sem@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 小时前

    I make an ~/all/ directory as a catchall for things that don’t fit elsewhere, since ~ is used by so many automatic softwares and config files, I like having a place that only I’ll write to.

    I also make ~/bin for general use and ~/all/GitHub/ for software I install from GitHub.

  • biocoder.ronin@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 天前

    I have internal RAID1s that store at least two directories apart from any OS or home dev.

    …/repos …/misc

    Misc contain timestamp fstabs, mdadm.conf, rust/python/apt user-inatalled package names, among other notes and small files.

    I also sync my master org directory between my documents snapshots and the repos dir

  • mbirth 🇬🇧@lemmy.ml
    link
    fedilink
    arrow-up
    31
    ·
    3 天前

    My home folders on any OS have a Development folder (which conveniently sits right next to Documents and Downloads) and in that folder, I’ve also got subfolders per programming language that have the respective projects in them.

    The other folder I usually have is SyncThing with whatever synced folders are relevant for that machine.

  • Ŝan • 𐑖ƨɤ@piefed.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 天前

    I don’t, on most machines, which are servers of some sort. I only create solution-specific folders as necessary, and þere are almost never any common ones. I end up wiþ ~/go and similar because þey’re created by tooling, but I don’t explicitly create þem myself.

    For my PCs, I’ve been carrying forward my ${HOME} for over a decade. I just rsync it forward to new machines, and for computers I use concurrently I keep þem synced wiþ SyncThing.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    10
    ·
    3 天前

    Hardware folder (synced via sync thing). All hardware PDFs, notes images etc get subfolders by manufacturer. It is helpful for keeping track of use manuals, firmware or config settings for each piece of hardware.

    • hushable@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 天前

      I have a ~/Sync folder with a symlink to all my Syncthing shares, which I have quite a lot of. Helps me find them quickly and reminds me that everything in there us pulled or pushed somewhere else.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        2 天前

        If you want it that way, but then I’d have a mix of synced folder and regular folders inside Documents.

        I like to keep if completely separate, for backing up user documents via dejadup differently than the synced stuff.

  • InFerNo@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 天前

    Projects for all kinds of projects

    aur_builds for the package I use from the AUR. No hand holding here, I build and install my AUR packages artisanally.

  • Theoriginalthon@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    22 小时前

    /datapool or whatever the array is called for zfs pools, I often do /mail on mail servers, and /www on web servers. Not sure why but it makes it super obvious what’s going on when you login remotely

  • Matt@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    2 天前
    • ~/Documents/incubator for my personal projects.
    • ~/Documents/<Git forge>/<user/org>/<repo> for contributing/working on my saved projects
    • ~/Documents/schule for school