Commit 38b2abb1 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Obtiene tamaño de directorios en bytes

Se mostraba el tamaño en kb incorrectamente etiquetado como bytes.
parent 5fd10752
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ function get_size() {

	if [ -d ${1} ]
	then
		echo "$(du -s "${1}" | cut -f 1)"
		echo "$(du -bs "${1}" | cut -f 1)"
	else
		echo "$(wc -c <"${1}")"
	fi