#!/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