Showing posts with label size. Show all posts
Showing posts with label size. Show all posts
Tuesday, January 27, 2009
Make Windows Equal Height
If you have a bunch of split windows of disproportionate sizes, you can make them all equal by doing a `ctrl-w =' in normal mode.
Friday, July 18, 2008
Sorting Files By Size
In case anybody was wondering, I'm still alive. I've been inordinately busy lately and have been spending the majority of my free time online re-learning Ruby on Rails. I've also been digging into multi-master and circular replication schemes for MySQL and MySQL proxy. I plan on sharing some of the things I've learned sometime in the near future. Anyway, here's a handy tip that I just used this morning.
If you want to sort all the files in a directory by size, you can do the following:
ls -lsR | sort -nr
The sort command will order by the number of blocks in each file. The biggest files are at the top.
If you want to sort all the files in a directory by size, you can do the following:
ls -lsR | sort -nr
The sort command will order by the number of blocks in each file. The biggest files are at the top.
Subscribe to:
Posts (Atom)