Falls jemand eine simplen Wrapper für du braucht, um die Größe des Webspaces bzw. eines beliebigen Ordners auszugeben…
Code
<hostingXXXXXX> [~] wu /
4.0K 2020-05-30 23:08 /backups
20K 2020-05-31 00:43 /.bash_history
12K 2020-05-12 12:14 /conf
72K 2020-02-21 11:12 /error_docs
88K 2020-05-31 15:39 /home
13G 2025-03-25 01:24 /httpdocs
59M 2020-05-31 15:42 /logs
4.0K 2020-03-04 04:10 /.profile
48K 2020-03-23 12:46 /.rbenv
8.0K 2020-05-30 21:06 /.ssh
4.0K 2020-05-31 15:40 /tmp
13G 2025-03-25 01:24 total
Alles anzeigen
Das Ding ignoriert automatisch alle Ordner, auf die man keine Schreibrechte hat. Also z.B. /{bin,dev,etc,lib*,usr,var}/ aus dem Chroot.
Viel Spaß: https://github.com/froonix/web…s/blob/master/home/bin/wu