Discussion:
how much space are my .isos taking up?
Dave Stevens
2018-10-31 02:47:30 UTC
Permalink
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?

tia

Dave
--
ubuntu-users mailing list
ubuntu-***@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo
Gene Heskett
2018-10-31 03:50:40 UTC
Permalink
Post by Dave Stevens
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?
tia
Dave
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.

And that if you also want a total file count, append a "|wc -l" to the
above command line, without the dbl-quotes of course. :)
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
--
ubuntu-users mailing list
ubuntu-***@lists.ubuntu.com
Modify settings or unsubscribe at: https://lis
First Name Last Name
2018-10-31 04:49:47 UTC
Permalink
Go to edit and find Preferences in the drop down menu.
Click on Preferences.
Find the tab for List Columns.
Check mark Size.
Close out the sub-menu.
You should now see the size of every file listed under the icon or by the
listing for that file.

- - - - -

- "Authority that can not be questioned is tyranny" - Sir Terry Pratchett

- *Nothing in the world is more dangerous than sincere ignorance and
conscientious stupidity.* Martin Luther King Jr., Strength to Love, 1963
Post by Gene Heskett
Post by Dave Stevens
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?
tia
Dave
#> 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.
And that if you also want a total file count, append a "|wc -l" to the
above command line, without the dbl-quotes of course. :)
--
Cheers, Gene Heskett
--
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
--
ubuntu-users mailing list
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Dave Stevens
2018-10-31 21:12:33 UTC
Permalink
On Tue, 30 Oct 2018 21:49:47 -0700
Post by First Name Last Name
Go to edit and find Preferences in the drop down menu.
Click on Preferences.
Find the tab for List Columns.
Check mark Size.
Close out the sub-menu.
You should now see the size of every file listed under the icon or by
the listing for that file.
- - - - -
got it now, thanks for all answers!

D
Post by First Name Last Name
- "Authority that can not be questioned is tyranny" - Sir Terry Pratchett
- *Nothing in the world is more dangerous than sincere ignorance and
conscientious stupidity.* Martin Luther King Jr., Strength to Love, 1963
Post by Gene Heskett
Post by Dave Stevens
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?
tia
Dave
#> 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.
And that if you also want a total file count, append a "|wc -l" to
the above command line, without the dbl-quotes of course. :)
--
Cheers, Gene Heskett
--
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
--
ubuntu-users mailing list
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

----- Ursula Le Guin
--
ubuntu-users mailing list
ubuntu-***@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/lis
Colin Watson
2018-10-31 11:23:35 UTC
Permalink
Post by Gene Heskett
Post by Dave Stevens
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?
#> 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 [***@ubuntu.com]
--
ubuntu-users mailing list
ubuntu-***@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubun
Robert Heller
2018-10-31 13:00:56 UTC
Permalink
Post by Colin Watson
Post by Gene Heskett
Post by Dave Stevens
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?
#> 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.
locate -0 .iso | xargs -0 ls -ld
+1

also, additional pipeline elements (awk, bc, etc.) can be used to produce a
total, if that is desired.
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
***@deepsoft.com -- Webhosting Services
--
ubuntu-users mailing list
ubuntu-***@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l
Robert Heller
2018-10-31 13:00:56 UTC
Permalink
Post by Dave Stevens
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?
locate .iso | xargs ls -lh
Post by Dave Stevens
tia
Dave
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
***@deepsoft.com -- Webhosting Services
--
ubuntu-users mailing list
ubuntu-***@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us
Loading...