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

  • 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.
  • A [email protected]

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

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

    I'm new to docker and all of my shit stopped working recently. Just wouldn't load. Took about a half hour to find out that old images were taking up about 63GB on my 100GB boot partition, resulting in it being completely full.

    I added the command to prune 3 month old images to my update scripts.

    A 1 Reply Last reply
    0
    • 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
      #110
      [moonpie@osiris ~]$ du -h $(which filelight)
      316K    /usr/bin/filelight
      

      K = kilobytes.

      [moonpie@osiris ~]$ pacman -Ql filelight | awk '{print $2}' | xargs du | awk '{print $1}' | paste -sd+ | bc
      45347740
      

      (45347740 bytes is 43.247 megabytes).

      KDE packages have many dependencies, which cause the packages themselves to be extremely tiny. By sharing a ton of code via libraries, they save a lot of space.

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

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

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

        I normally use rm for that. Or wipefs if I'm feeling particularly spicy.

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

          I normally use rm for that. Or wipefs if I'm feeling particularly spicy.

          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
          #112

          Filelight is about finding the folders you don't use that take a lot of space. Basically an easier way to look into which folder takes up what.

          B 1 Reply Last reply
          0
          • P [email protected]

            Lol I had no idea it relied on so much. Its just built into KDE. Really great app overall.

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

            Basically all KDE apps have the same dependency set. So install one and the next ones will only install the app most likely. On KDE itself you'd already have these.

            1 Reply Last reply
            0
            • A [email protected]

              Filelight is about finding the folders you don't use that take a lot of space. Basically an easier way to look into which folder takes up what.

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

              Wooosh 😉

              1 Reply Last reply
              0
              • S [email protected]

                Jesus, that rustup folder is HUGE

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

                One of the things I dislike about Rust is the massive amount of disk space it takes to do a download, compile, test run.
                2GB of dependencies and build files for a 200K binary is a bit much.

                1 Reply Last reply
                0
                • M [email protected]
                  [moonpie@osiris ~]$ du -h $(which filelight)
                  316K    /usr/bin/filelight
                  

                  K = kilobytes.

                  [moonpie@osiris ~]$ pacman -Ql filelight | awk '{print $2}' | xargs du | awk '{print $1}' | paste -sd+ | bc
                  45347740
                  

                  (45347740 bytes is 43.247 megabytes).

                  KDE packages have many dependencies, which cause the packages themselves to be extremely tiny. By sharing a ton of code via libraries, they save a lot of space.

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

                  It being KDE is even less reason to use it

                  swedneck@discuss.tchncs.deS 1 Reply 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
                    #117

                    Personally I'm a huge fan of dust

                    1 Reply Last reply
                    0
                    • J [email protected]

                      I'm new to docker and all of my shit stopped working recently. Just wouldn't load. Took about a half hour to find out that old images were taking up about 63GB on my 100GB boot partition, resulting in it being completely full.

                      I added the command to prune 3 month old images to my update scripts.

                      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
                      #118

                      Yeah, it's really not called out in the docs. I found out the same way.

                      1 Reply Last reply
                      0
                      • M [email protected]

                        Isn't that a wayland notification daemon already?

                        Edit: no, that's dunst.

                        Btw, how do you do the background color thing?

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

                        Now someone needs to do a rewrite of dunst in rust called runst to make the confusion complete.

                        1 Reply Last reply
                        0
                        • xnx@slrpnk.netX [email protected]

                          (This is a joke don’t do this or you’ll ruin your computer)

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

                          You can run it without causing any problems if you add the --no-preserve-root flag as well of course

                          1 Reply Last reply
                          0
                          • C [email protected]

                            Fclones is a great tool, but it's for finding duplicate files and replacing them with sym-/hard-/reflinks.

                            I recommend using the --cache option to make subsequent runs extremely quick.

                            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
                            #121

                            --cache option

                            I will check this out!

                            1 Reply Last reply
                            0
                            • ? Guest

                              @EveryMuffinIsNowEncrypted Don't worry. English for clmminicarion is just fine. It was not meant to be malicious.
                              I just saw this video sooo many times, it was kind of a standard response.

                              BÄÄM is like the German version of BOOM in comics.
                              Therefore "BÄM Lee" because he knocks people out with one punch.

                              Its spoken like the beginning of BAd behaviour. Maybe that's helpful. 😊

                              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
                              #122

                              Oh that's funny x3

                              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.

                                swedneck@discuss.tchncs.deS This user is from outside of this forum
                                swedneck@discuss.tchncs.deS This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #123

                                prune as fuck

                                1 Reply Last reply
                                0
                                • ? Guest

                                  It being KDE is even less reason to use it

                                  swedneck@discuss.tchncs.deS This user is from outside of this forum
                                  swedneck@discuss.tchncs.deS This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #124

                                  you do realize this makes everyone immediately discard your opinion, because it's useless, right?

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

                                    These tools are also useful for finding large files in your home directory. E.g. I've found a large amount of Linux ISOs I didn't need anymore.

                                    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
                                    #125

                                    My users home directory is ephemeral as well, so this wouldn't happen. Everything I didn't declare to persist is deleted on reboot.

                                    What I do use tools like these for is verifying that my persistent storage paths are properly bind mounted and files end up in the correct filesystem.

                                    I use dust for this, specifically with the -x flag to not traverse multiple filesystems.

                                    1 Reply Last reply
                                    0
                                    • avidamoeba@lemmy.caA [email protected]

                                      That kinda makes sense at this stage. If you spend time understanding what those commands do, you'd understand how the system works, and most importantly how to not fuck it up. Keep in mind there's a lot of misinformation and bad practices in guides out there. People who bare know more than you feel confident to share snippets without warning. Ten or twenty years ago much fewer people had experience with Linux and most people confident enough to write were technical people that knew what they were talking about. Destructive misinformation was less.

                                      But yeah when you learn, the need or urge to reinstall disappears. I stopped reinstalling in 2014. Took me 9 years to unfuck my Windows brain and understand enough to not shoot myself in the feet. Main machine hasn't been reinstalled since then. That's with replacing multiple main boards, switching AMD > Intel > AMD, changing SSDs, going from single SSD to mdraid, increasing in size over time, etc.

                                      neatobuilds@lemmy.todayN This user is from outside of this forum
                                      neatobuilds@lemmy.todayN This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #126

                                      So now I'm curious what distro you like most? I've been using popos for about a year at this point then tried fedora for about a week and now installed arch to feel around

                                      avidamoeba@lemmy.caA 1 Reply Last reply
                                      0
                                      • neatobuilds@lemmy.todayN [email protected]

                                        So now I'm curious what distro you like most? I've been using popos for about a year at this point then tried fedora for about a week and now installed arch to feel around

                                        avidamoeba@lemmy.caA This user is from outside of this forum
                                        avidamoeba@lemmy.caA This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #127

                                        The machine that was last installed in 2014 is Ubuntu LTS. It's been upgraded through all the LTS releases since then. Currently on 22.04 with the free Ubuntu Pro enabled. I use a mix of Ubuntu LTS and Debian stable on other machines. For example my laptop is on Debian 12. Debian has been the most reliable OS and community for over 30 years and I believe it'll still be around 30 years from now, if we haven't destroyed ourselves. 😂

                                        1 Reply Last reply
                                        0
                                        • S [email protected]

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

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

                                          Is there any disk usage tool that allows you to browse the tree while it's still being calculated, prioritizing current directory?

                                          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