Skip to content

christwinn/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

freespace

A simple script to find either a partition or system freespace.

Obviously your numbers will vary !

Get the /home partition free space

This assumes that /home is on a seperate partition not a child

./freespace /home

outputs 37001384

./freespace /home -h 

outputs 36G

Get the /dev/sda3 partition free space

./freespace /dev/sda3

outputs 37001384

./freespace /dev/sda3 -h 

outputs 36G

Get the system free space

./freespace

outputs 82857620

./freespace -h

outputs 80G

filemod

A simple script to find when a file was modified (in seconds). Does it need to be backed up?

./filemod /home/me/myfile

outputs 12345

About

A script repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages