Skip to content
  • Kategorien
  • Aktuell
  • Tags
  • Beliebt
  • World
  • Benutzer
  • Gruppen
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen

other.li Forum

  1. Übersicht
  2. Uncategorized
  3. things I learned cleaning up on GNU/Linux

things I learned cleaning up on GNU/Linux

Geplant Angeheftet Gesperrt Verschoben Uncategorized
6 Beiträge 3 Kommentatoren 1 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • kaia@brotka.stK This user is from outside of this forum
    kaia@brotka.stK This user is from outside of this forum
    kaia@brotka.st
    schrieb am zuletzt editiert von
    #1

    things I learned cleaning up on GNU/Linux

    using ncdu to find folders with biggest sizes

    17.8 GiB [######################] /tomboys

    finding dupes and putting them into file:

    fdupes -r save/ | tee dups

    after identifying the folders where stuff should not be:

    grep 'copy 1' dups | xargs -d '\n' rm

    removing all pesky node_modules without that current project where you need it:

    find . -type 'd' -name 'node_modules' -not -path './repo/the-important-thing/*' -exec rm -rf {} \;

    same for venvs. I hate venvs.

    find smol files, indicative of stuff you probably did not make yourself

    find . -type f -size -4096c

    remove empty folders after cleaning dups

    find . -type 'd' -empty -delete

    appreciative of any further ideas you have!

    monkee@other.liM 1 Antwort Letzte Antwort
    0
    • kaia@brotka.stK kaia@brotka.st

      things I learned cleaning up on GNU/Linux

      using ncdu to find folders with biggest sizes

      17.8 GiB [######################] /tomboys

      finding dupes and putting them into file:

      fdupes -r save/ | tee dups

      after identifying the folders where stuff should not be:

      grep 'copy 1' dups | xargs -d '\n' rm

      removing all pesky node_modules without that current project where you need it:

      find . -type 'd' -name 'node_modules' -not -path './repo/the-important-thing/*' -exec rm -rf {} \;

      same for venvs. I hate venvs.

      find smol files, indicative of stuff you probably did not make yourself

      find . -type f -size -4096c

      remove empty folders after cleaning dups

      find . -type 'd' -empty -delete

      appreciative of any further ideas you have!

      monkee@other.liM This user is from outside of this forum
      monkee@other.liM This user is from outside of this forum
      monkee@other.li
      schrieb am zuletzt editiert von
      #2

      @kaia@brotka.st Uh - did not know of ncdu Running it now
      ​​

      ? 1 Antwort Letzte Antwort
      0
      • monkee@other.liM monkee@other.li

        @kaia@brotka.st Uh - did not know of ncdu Running it now
        ​​

        ? Offline
        ? Offline
        Gast
        schrieb am zuletzt editiert von
        #3
        @monkee @kaia KDE normie using Filelight for pretty circle-trees.
        monkee@other.liM 1 Antwort Letzte Antwort
        0
        • ? Gast
          @monkee @kaia KDE normie using Filelight for pretty circle-trees.
          monkee@other.liM This user is from outside of this forum
          monkee@other.liM This user is from outside of this forum
          monkee@other.li
          schrieb am zuletzt editiert von
          #4

          @Nicro@fedi.absturztau.be @kaia@brotka.st I do like the pretty circles. I'm mainly testing ncdu to be used on servers without GUI.

          ? 1 Antwort Letzte Antwort
          0
          • monkee@other.liM monkee@other.li

            @Nicro@fedi.absturztau.be @kaia@brotka.st I do like the pretty circles. I'm mainly testing ncdu to be used on servers without GUI.

            ? Offline
            ? Offline
            Gast
            schrieb am zuletzt editiert von
            #5
            @monkee @kaia Sorry, I was talking about myself, not trying to roast you. That was worded badly.
            monkee@other.liM 1 Antwort Letzte Antwort
            0
            • ? Gast
              @monkee @kaia Sorry, I was talking about myself, not trying to roast you. That was worded badly.
              monkee@other.liM This user is from outside of this forum
              monkee@other.liM This user is from outside of this forum
              monkee@other.li
              schrieb am zuletzt editiert von monkee@other.li
              #6

              @Nicro@fedi.absturztau.be @kaia@brotka.st No worry. Me too ​:gura_laugh:​ Did not take it as an attack at all. Did not even realize it could be interpreted that way ​:ablobcatsweatsiphard:​

              1 Antwort Letzte Antwort
              0
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              • Anmelden

              • Anmelden oder registrieren, um zu suchen
              • Erster Beitrag
                Letzter Beitrag
              0
              • Kategorien
              • Aktuell
              • Tags
              • Beliebt
              • World
              • Benutzer
              • Gruppen