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-09-21 14:32:17 +03:00
|
|
|
let "SIZE = ($SPACE_REQ / 3500)"
|
2018-09-21 09:24:01 +03:00
|
|
|
echo $SIZE
|
|
|
|
|