Skip to content

u/karolba

In this archive from Aug 2015 to Sep 2018

0
posts
9
comments
0
media
29
score

The command I used:

LANG=C pacman -Qi | awk -F: '$1~/^Name / { name=$2 } $1~/^Installed Size / { gsub(/ /, ""); size=$2; print size, name }' | sort -hr | head -n 10 | column -t

10 biggest packages:

2,22GiB     android-ndk
1704,90MiB  nerd-fonts-complete
1317,02MiB  android-studio
780,56MiB   vmware-workstation
737,35MiB   intellij-idea-community-edition
718,49MiB   mingw-w64-gcc
560,98MiB   supertuxkart
531,36MiB   qt5-doc
515,67MiB   rfc
450,07MiB   wine
4 points

I'm guessing that it was generated by some other script. Doesn't look that bad when you think about it as generated, because generated code doesn't have to be maintainable, the generator has to be.

Removes all files and checks if the directories up these files are empty, then also deletes them if they are. It obviously won't delete your /usr or /usr/bin, those aren't empty.

I'm also guessing that the verbosity is caused by keeping portability with some old systems. rmdir from GNU coreutils accepts [-p|--parents] now, just as mkdir.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.