]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - clean-distfiles.sh
- mention relup was used in release bump
[packages/rpm-build-tools.git] / clean-distfiles.sh
index 8e9cc7990b6c86bb43a770e954d47a574dedc31a..8e7cea9eac16372e8412cc6f38b15381c3dbb2d8 100644 (file)
@@ -6,8 +6,9 @@
 dir=$(dirname "$0")
 cd "$dir"
 
-ext=bz2,gz,rar,tgz,tbz2,zip,jar,Z,tar,png,ico,xpm,gif,rpm,bin,run,exe,iso,xpi,ZIP,dll
-ls -ld */*.{$ext}
+ext=bz2,gz,rar,tgz,tbz2,zip,jar,Z,tar,png,ico,xpm,gif,rpm,bin,run,exe,iso,xpi,ZIP,dll,pdf
+ls -ldrSh */*.{$ext}
+echo */*.{$ext} | xargs stat -c %s | awk '{s+=$1} END {printf("Total: %d MiB\n", s/1014/1024)}'
 
 echo remove? ctrl+c to abort
 read a
This page took 0.115141 seconds and 4 git commands to generate.