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 ?

  • Starfighter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 days ago

    Since projects of the same language often use the same tooling this makes it easier to clean up the whole directory by running something like this:

    for d in ./*/ ; do (cd "$d" && somecommand); done
    

    somecommand could be cargo clean if you’re in the Rust directory for example.