Tips and scripts relating to database administration. Mainly SQL Server but some MySQL and every now and again something different. Posts are brief and to the point.It's as much a place to make notes for my own use as anything else.
Wednesday, 23 April 2008
Find large files
To find all files with a size greater than 6GB use the following:
find / -type f -size +600000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
No comments:
Post a Comment