13 lines
206 B
Bash
Executable File
13 lines
206 B
Bash
Executable File
#!/bin/bash
|
|
|
|
folder_path="/home/tylen/Saturn/tylen"
|
|
|
|
if [ -d "$folder_path" ]; then
|
|
available_space=$(df -h --output=avail "$folder_path" | tail -n 1)
|
|
|
|
echo "$available_space"
|
|
else
|
|
echo "-"
|
|
fi
|
|
|