Joined: Mon Nov 17, 2008 7:25 am Posts: 221
|
|
Well the easy solution is something like this.
[/code] #!/bin/bash clear df -h
for i in $(df -h | awk {'print $6'} | grep -v Mounted); do find $i -size 100M done [code]
This thou will work somewhat wierd since / will print _all_ files that are above 100Mb and the it'll print the individual partitions.
You can solve this by adding a | grep -v "^\/" after Mounted.
But then all the files on the root partition won't show.
Hope this gives you a pointer.
Best Regards Fredrik Eriksson
|
|