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.
  • 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

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

    I can see you're not using Flatpak, the destroyer of disk space. Nice list though!

    ? 1 Reply Last reply
    0
    • klu9@lemmy.caK [email protected]

      Personally I'm loving diskonaut. "Graphical" representation but at, ahem, terminal velocity.
      Image

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

      I use dua, but this looks neat too.

      1 Reply Last reply
      0
      • D [email protected]

        I use du -hs * | sort -h

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

        du -sxk | sort -n gotta find those hidden files too!

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

          My dad's Linux setup couldn't log in. After a bit of investigation, starting the session manually and so on, i got a hunch and indeed; i saw in Baobab that the backup script took the wrong disk, filled up the one with home, making it slow, so the log-in thingie timed out, failing the session.

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

            On gtk desktops it's something like Baobab. Too sad that the big guys can't make lightweight and standalone software.

            1 Reply Last reply
            0
            • B [email protected]

              dust

              Yes, it's du in Rust + more.

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

              Isn't that a wayland notification daemon already?

              Edit: no, that's dunst.

              Btw, how do you do the background color thing?

              B O 2 Replies 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?

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

                I was confused what you meant by background colour thing so I went to dust docs haha.

                Now I got you. It's a codeblock so it shows in monospace font. Look up .md formatting for tips.

                In this case its a word between backticks `

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

                  I was confused what you meant by background colour thing so I went to dust docs haha.

                  Now I got you. It's a codeblock so it shows in monospace font. Look up .md formatting for tips.

                  In this case its a word between backticks `

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

                  Ah, right, it's the inline code. Mindslip. Thanks!

                  1 Reply Last reply
                  0
                  • klu9@lemmy.caK [email protected]

                    Personally I'm loving diskonaut. "Graphical" representation but at, ahem, terminal velocity.
                    Image

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

                    Jesus, that rustup folder is HUGE

                    ? 1 Reply Last reply
                    0
                    • klu9@lemmy.caK [email protected]

                      Personally I'm loving diskonaut. "Graphical" representation but at, ahem, terminal velocity.
                      Image

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

                      Linky pls

                      klu9@lemmy.caK 1 Reply Last reply
                      0
                      • C This user is from outside of this forum
                        C This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #107

                        flatpak install flathub org.kde.filelight

                        1 Reply Last reply
                        0
                        • ? Guest

                          Linky pls

                          klu9@lemmy.caK This user is from outside of this forum
                          klu9@lemmy.caK This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #108

                          https://github.com/imsnif/diskonaut

                          No package for my distro, I "installed" an AppImage with AM (which is also how I discovered it)

                          1 Reply Last reply
                          0
                          • 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
                                          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