2018-06-25 15:49:06 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2018-09-21 09:24:01 +03:00
|
|
|
SPACE_REQ=$(du -sb "$DIR/../base" | cut -f 1)
|
|
|
|
|
2018-12-05 07:01:16 +03:00
|
|
|
let "SIZE = ($SPACE_REQ / 3400)"
|
2018-09-21 09:24:01 +03:00
|
|
|
echo $SIZE
|
|
|
|
|