how much space are my .isos taking up?
Colin Watson
cjwatson at ubuntu.com
Wed Oct 31 11:23:35 UTC 2018
On Tue, Oct 30, 2018 at 11:50:40PM -0400, Gene Heskett wrote:
> On Tuesday 30 October 2018 22:47:30 Dave Stevens wrote:
> > I was surprised when I ran "locate .iso" to see twenty or so in the
> > list. Does anyone know a handy way to get a listing with file sizes?
>
> Try something like this:
>
> #> ls -l `locate *.iso`
>
> Note that those are backticks, below the tilde on a US keyboard. They
> contain the response from locate, backfeeding to the ls -l.
More robust against file names containing spaces:
locate -0 .iso | xargs -0 ls -ld
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list