I am looking to make a backup to a remote drive, but I want to do a check prior to doing so.
Is it possible to snatch only the "Available" space from the df output, rather than all of the details, to compare to the size of the dump?
I had to change it to $print 4, but that is exactly what was needed. Thank you so much.
df -P <mountpoint>
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago