Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. I freed 30GB using Filelight

I freed 30GB using Filelight

Scheduled Pinned Locked Moved Linux
linux
130 Posts 90 Posters 390 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • eskuero@lemmy.fromshado.wsE [email protected]

    Clean all the cache downloads of Arch Linux Packages

    pacman -Scc

    Remove unused docker networks and images

    docker system prune --all

    Cleanup untracked git files that might be in .gitignore such as build and out directories (beware of losing data, use "n" instead of "f" for a dry run)

    git clean -xdf

    Do an aggresive pruning of objects in git (MIGHT BE VERY SLOW)

    git gc --aggressive --prune=now

    Remove old journal logs, keeping last seven days

    journalctl --vacuum-time 7days

    Remove pip cache

    pip cache purge

    T This user is from outside of this forum
    T This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #30

    Remove unused conda packages and caches:

    conda clean --all

    If you are a Python developer, this can easily be several or tens of GB.

    1 Reply Last reply
    0
    • F [email protected]

      I create a cron job with something like: docker system prune -af --filter="until=XXh" where XX is on the order of a few days.

      eager_eagle@lemmy.worldE This user is from outside of this forum
      eager_eagle@lemmy.worldE This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #31

      ah, this filter by timestamp might be very useful to me, thanks

      1 Reply Last reply
      0
      • H [email protected]

        I might do that just to force myself to organize and move files out of downloads.

        gustavom@lemmy.worldG This user is from outside of this forum
        gustavom@lemmy.worldG This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #32

        I don't think you'll need to do that, unless you are planning to download files that are over 4Gb long and/or you are using a potato that has less than 1 Gb of ram.

        t. I've set my entire ram into a ramdisk, and the performance actually IMPROVED compared to not setting a ramdisk at all.

        E 1 Reply Last reply
        0
        • S [email protected]

          And that's all, I'm happy since I was out of space.

          U This user is from outside of this forum
          U This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #33

          Looks like a worse looking baobab clone

          1 Reply Last reply
          0
          • S [email protected]

            And that's all, I'm happy since I was out of space.

            D This user is from outside of this forum
            D This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #34

            I use du -hs * | sort -h

            A B C C T 5 Replies Last reply
            0
            • mrsoup@lemmy.zipM [email protected]

              I recommend it too. It's simple as doing:

              sudo rm -rf /
              

              Where "-rf" obviously stands for "remove french".

              ? Offline
              ? Offline
              Guest
              wrote on last edited by
              #35

              @MrSoup @bricked
              I know but was was the parameter for 'force recursive' ?

              mrsoup@lemmy.zipM O 2 Replies Last reply
              0
              • S [email protected]

                And that's all, I'm happy since I was out of space.

                S This user is from outside of this forum
                S This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #36

                Looks like the Gnome Disk Usage Analyzer but for KDE.

                C 1 Reply Last reply
                0
                • M [email protected]

                  I'm more of a baobab person myself 😋

                  whynotsquirrel@sh.itjust.worksW This user is from outside of this forum
                  whynotsquirrel@sh.itjust.worksW This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #37

                  Isn't it the same?

                  M 1 Reply Last reply
                  0
                  • A [email protected]

                    I freed 50gb by running 'docker system prune'...

                    bdonvr@thelemmy.clubB This user is from outside of this forum
                    bdonvr@thelemmy.clubB This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #38

                    Oh hey thanks for reminding me, freed 5GB which should buy me a bit of time on upgrading the server I use for this lemmy instance.

                    1 Reply Last reply
                    0
                    • whynotsquirrel@sh.itjust.worksW [email protected]

                      Isn't it the same?

                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #39

                      Basically, just using gtk instead of Qt 😛

                      tomenzgg@midwest.socialT 1 Reply Last reply
                      0
                      • everymuffinisnowencrypted@lemmy.blahaj.zoneE [email protected]

                        Cheese it!

                        ? Offline
                        ? Offline
                        Guest
                        wrote on last edited by
                        #40

                        @EveryMuffinIsNowEncrypted @VonReposti Cheese? That's a James May job.
                        😉🧀

                        everymuffinisnowencrypted@lemmy.blahaj.zoneE 1 Reply Last reply
                        0
                        • D [email protected]

                          I use du -hs * | sort -h

                          A This user is from outside of this forum
                          A This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #41

                          In Germany "du hs" is considered an insult and I think that's beautiful.

                          E 1 Reply Last reply
                          0
                          • ? Guest

                            @MrSoup @bricked
                            I know but was was the parameter for 'force recursive' ?

                            mrsoup@lemmy.zipM This user is from outside of this forum
                            mrsoup@lemmy.zipM This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #42

                            Yes, it is.

                            1 Reply Last reply
                            0
                            • dm9pzcaq@lemmy.mlD [email protected]

                              i use https://dev.yorhel.nl/ncdu for this

                              ? Offline
                              ? Offline
                              Guest
                              wrote on last edited by
                              #43

                              I'm à qdirstat guy : https://github.com/shundhammer/qdirstat

                              F 1 Reply Last reply
                              0
                              • S [email protected]

                                And that's all, I'm happy since I was out of space.

                                M This user is from outside of this forum
                                M This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #44

                                gdu gang

                                1 Reply Last reply
                                0
                                • S [email protected]

                                  And that's all, I'm happy since I was out of space.

                                  D This user is from outside of this forum
                                  D This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #45

                                  The always huge and killing my system space:

                                  • pacman cache
                                  • docker bullshit
                                  • flatpaks
                                  • journalctl files!
                                  M 1 Reply Last reply
                                  0
                                  • gustavom@lemmy.worldG [email protected]

                                    I don't think you'll need to do that, unless you are planning to download files that are over 4Gb long and/or you are using a potato that has less than 1 Gb of ram.

                                    t. I've set my entire ram into a ramdisk, and the performance actually IMPROVED compared to not setting a ramdisk at all.

                                    E This user is from outside of this forum
                                    E This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #46

                                    I don't think they meant forcing themselves because their RAM would fill up, but because their stuff would be gone after rebooting if they didn't move it.

                                    1 Reply Last reply
                                    0
                                    • S [email protected]

                                      And that's all, I'm happy since I was out of space.

                                      E This user is from outside of this forum
                                      E This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #47

                                      My / is a tmpfs.

                                      There is no state accumulating that I didn't explicitly specify, exactly because I don't want to deal with those kind of chores.

                                      C 1 Reply Last reply
                                      0
                                      • A [email protected]

                                        In Germany "du hs" is considered an insult and I think that's beautiful.

                                        E This user is from outside of this forum
                                        E This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #48

                                        selber hs °^°

                                        1 Reply Last reply
                                        0
                                        • ? Guest

                                          @EveryMuffinIsNowEncrypted @VonReposti Cheese? That's a James May job.
                                          😉🧀

                                          everymuffinisnowencrypted@lemmy.blahaj.zoneE This user is from outside of this forum
                                          everymuffinisnowencrypted@lemmy.blahaj.zoneE This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #49

                                          Lol, I love me some James May saying "cheese", but I was more referring to the old Futurama episode where Bender goes back to Mars University. One of his signature catchphrases in that episode is "Cheese it!"

                                          ? 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups