• Re: Out for the count

    From David Kennedy@21:1/5 to Graeme Wall on Thu Apr 20 09:02:52 2023
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short of actually doing it manually. The files (images) all have individual names rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a finder window it will show you the total?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Graeme Wall@21:1/5 to All on Thu Apr 20 09:00:30 2023
    Is there an easy way to count the number of files in a folder? Short of actually doing it manually. The files (images) all have individual names
    rather than a sequence of numbers.

    --
    Graeme Wall
    This account not read.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan B@21:1/5 to Richard Tobin on Thu Apr 20 09:28:49 2023
    On 2023-04-20, Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
    In article <u1qreu$gstr$1@dont-email.me>,
    Graeme Wall <rail@greywall.demon.co.uk> wrote:
    Is there an easy way to count the number of files in a folder? Short of >>actually doing it manually. The files (images) all have individual names >>rather than a sequence of numbers.

    In a terminal, type "ls | wc -l"

    (This will give the wrong answer if any of the filenames contain
    linefeeds, but that's unlikely.)

    That command also includes sub-folders and other items - but that may not matter in
    Graeme's case of course if the folder only contains files. Sorry to appear pedantic ;)

    --
    Cheers, Alan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Tobin@21:1/5 to rail@greywall.demon.co.uk on Thu Apr 20 09:17:32 2023
    In article <u1qreu$gstr$1@dont-email.me>,
    Graeme Wall <rail@greywall.demon.co.uk> wrote:
    Is there an easy way to count the number of files in a folder? Short of >actually doing it manually. The files (images) all have individual names >rather than a sequence of numbers.

    In a terminal, type "ls | wc -l"

    (This will give the wrong answer if any of the filenames contain
    linefeeds, but that's unlikely.)

    -- Richard

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jaimie Vandenbergh@21:1/5 to rail@greywall.demon.co.uk on Thu Apr 20 09:44:53 2023
    On 20 Apr 2023 at 09:00:30 BST, "Graeme Wall"
    <rail@greywall.demon.co.uk> wrote:

    Is there an easy way to count the number of files in a folder? Short of actually doing it manually. The files (images) all have individual names rather than a sequence of numbers.

    Enabler Finder's status bar.

    Or if you don't like that being there, go to Columns view with Preview
    enabled (View/Show Preview): cmd-a will select them all and the preview
    column will say "X items"

    Cheers - Jaimie
    --
    If you can't measure it, it's not science.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From whisky-dave@21:1/5 to Jaimie Vandenbergh on Thu Apr 20 04:31:54 2023
    On Thursday, 20 April 2023 at 10:44:56 UTC+1, Jaimie Vandenbergh wrote:
    On 20 Apr 2023 at 09:00:30 BST, "Graeme Wall"
    <ra...@greywall.demon.co.uk> wrote:

    Is there an easy way to count the number of files in a folder? Short of actually doing it manually. The files (images) all have individual names rather than a sequence of numbers.
    Enabler Finder's status bar.

    You can select the files in the folder and it'll tell you how many files you've selected.
    And right clicking you can move all the selected files to a new folder , which I find useful.


    Or if you don't like that being there, go to Columns view with Preview enabled (View/Show Preview): cmd-a will select them all and the preview column will say "X items"

    Cheers - Jaimie
    --
    If you can't measure it, it's not science.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joerg Lorenz@21:1/5 to All on Thu Apr 20 13:42:44 2023
    Am 20.04.23 um 10:00 schrieb Graeme Wall:
    Is there an easy way to count the number of files in a folder? Short of actually doing it manually. The files (images) all have individual names rather than a sequence of numbers.

    command+i

    --
    Gutta cavat lapidem (Ovid)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Graeme Wall@21:1/5 to David Kennedy on Thu Apr 20 17:50:04 2023
    On 20/04/2023 09:02, David Kennedy wrote:
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short
    of actually doing it manually. The files (images) all have individual
    names rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a
    finder window it will show you the total?

    Doh! Find info does indeed tell you how many items, after the size!

    Thanks
    --
    Graeme Wall
    This account not read.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Graeme Wall@21:1/5 to David Kennedy on Fri Apr 21 07:33:56 2023
    On 21/04/2023 07:19, David Kennedy wrote:
    On 20/04/2023 17:50, Graeme Wall wrote:
    On 20/04/2023 09:02, David Kennedy wrote:
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short
    of actually doing it manually. The files (images) all have
    individual names rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a
    finder window it will show you the total?

    Doh! Find info does indeed tell you how many items, after the size!

    Thanks
    No problem. We all have those moments.

    Yup!
    --
    Graeme Wall
    This account not read.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joerg Lorenz@21:1/5 to All on Fri Apr 21 08:36:11 2023
    Am 21.04.23 um 08:33 schrieb Graeme Wall:
    On 21/04/2023 07:19, David Kennedy wrote:
    On 20/04/2023 17:50, Graeme Wall wrote:
    On 20/04/2023 09:02, David Kennedy wrote:
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short >>>>> of actually doing it manually. The files (images) all have
    individual names rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a
    finder window it will show you the total?

    Doh! Find info does indeed tell you how many items, after the size!

    Thanks
    No problem. We all have those moments.

    Yup!

    We are not alone. ;-)

    --
    De gustibus non est disputandum

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Kennedy@21:1/5 to Graeme Wall on Fri Apr 21 07:19:20 2023
    On 20/04/2023 17:50, Graeme Wall wrote:
    On 20/04/2023 09:02, David Kennedy wrote:
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short of
    actually doing it manually. The files (images) all have individual names >>> rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a finder >> window it will show you the total?

    Doh! Find info does indeed tell you how many items, after the size!

    Thanks
    No problem. We all have those moments.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Another John@21:1/5 to Jaimie Vandenbergh on Fri Apr 21 19:17:10 2023
    In article <kacfslFktpuU1@mid.individual.net>,
    Jaimie Vandenbergh <jaimie@usually.sessile.org> wrote:

    Enabler Finder's status bar.

    Or if you don't like that being there, go to Columns view with Preview enabled (View/Show Preview): cmd-a will select them all and the preview column will say "X items"

    List view (Command-2 is the shortcut) always shows the number of items
    being displayed in the bottom bar (the 'footer') of the window.

    So if you're looking at a folder that has two folders in it, each with
    18 items (files or folders) it says "2 items" if you're only displaying
    the folders, or "38 items" if you've expanded both folders, or "20
    items" if you've only expanded one folder.

    Or am I barking up the wrong tree?

    I have used nothing but Column view since I started using Macs (eons
    ago). The other options seem to be relatively useless to me. Not as
    pretty as icons of course, but..

    John

    (Using Command-1, 2, 3 and 4 makes switching views a lightning
    manoeuvre.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Graeme Wall@21:1/5 to Another John on Fri Apr 21 20:01:15 2023
    On 21/04/2023 19:17, Another John wrote:
    In article <kacfslFktpuU1@mid.individual.net>,
    Jaimie Vandenbergh <jaimie@usually.sessile.org> wrote:

    Enabler Finder's status bar.

    Or if you don't like that being there, go to Columns view with Preview
    enabled (View/Show Preview): cmd-a will select them all and the preview
    column will say "X items"

    List view (Command-2 is the shortcut) always shows the number of items
    being displayed in the bottom bar (the 'footer') of the window.

    So if you're looking at a folder that has two folders in it, each with
    18 items (files or folders) it says "2 items" if you're only displaying
    the folders, or "38 items" if you've expanded both folders, or "20
    items" if you've only expanded one folder.

    Or am I barking up the wrong tree?

    I have used nothing but Column view since I started using Macs (eons
    ago). The other options seem to be relatively useless to me. Not as
    pretty as icons of course, but..

    John

    (Using Command-1, 2, 3 and 4 makes switching views a lightning
    manoeuvre.)

    These are folders of images so icon view is actually more use generally.
    It's handy to know how many files are in each individual folder and, as
    been pointed out, get info does the job simply.
    --
    Graeme Wall
    This account not read.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Hewitt@21:1/5 to Graeme Wall on Sat Apr 22 05:35:14 2023
    On 20/04/2023 17:50, Graeme Wall wrote:
    On 20/04/2023 09:02, David Kennedy wrote:
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short
    of actually doing it manually. The files (images) all have individual
    names rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a
    finder window it will show you the total?

    Doh! Find info does indeed tell you how many items, after the size!

    Thanks

    You can also use the View menu 'Show Status Bar' option and it's display
    it at the bottom of every window as you open it.

    --
    Andy H

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Graeme Wall@21:1/5 to Andy Hewitt on Sat Apr 22 07:56:24 2023
    On 22/04/2023 05:35, Andy Hewitt wrote:
    On 20/04/2023 17:50, Graeme Wall wrote:
    On 20/04/2023 09:02, David Kennedy wrote:
    On 20/04/2023 09:00, Graeme Wall wrote:
    Is there an easy way to count the number of files in a folder? Short
    of actually doing it manually. The files (images) all have
    individual names rather than a sequence of numbers.

    Perhaps I'm missing something but surely if you open the folder as a
    finder window it will show you the total?

    Doh! Find info does indeed tell you how many items, after the size!

    Thanks

    You can also use the View menu 'Show Status Bar' option and it's display
    it at the bottom of every window as you open it.


    So it does, thanks.
    --
    Graeme Wall
    This account not read.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)