|
List Info
Thread: How to see total number of filesin Directory with subdirectories
|
|
| How to see total number of filesin
Directory with subdirectories |
  France |
2007-03-10 14:04:48 |
Konqueror in file manager mode when you open a directory
only shows the number
of subdirectories, and any files in the parent directory.
For example, I have a directory named Sounds-Library with
all my .wav
soundfiles in it. When I open the Sounds-Library directory
it says there is
one file, and 52 Folders (subdirectories). Within the
subdirectories are more
subdirectories, and within these are the soundfiles.
What I'm looking for is a way to see (recursively) how many
soundfiles are in
my Sounds-Library directory. Is this possible with
Konquerors file manager?
Or can anyone suggest a CLI solution for solving this
problem?
Thanks.
Nigel.
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|
|
| Re: How to see total number of filesin
Directory with subdirectories |
  Austria |
2007-03-10 14:35:34 |
On Saturday 10 March 2007 21:04 +0100, Nigel Henry wrote:
> Konqueror in file manager mode when you open a
directory only shows the
> number of subdirectories, and any files in the parent
directory.
>
> For example, I have a directory named Sounds-Library
with all my .wav
> soundfiles in it. When I open the Sounds-Library
directory it says there is
> one file, and 52 Folders (subdirectories). Within the
subdirectories are
> more subdirectories, and within these are the
soundfiles.
>
> What I'm looking for is a way to see (recursively) how
many soundfiles are
> in my Sounds-Library directory. Is this possible with
Konquerors file
> manager?
Right click the folder and open its properties window
> Or can anyone suggest a CLI solution for solving this
problem?
$ find /path/to/folder -type f | wc -l
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|
|
| Re: How to see total number of filesin
Directory with subdirectories |
  France |
2007-03-10 15:27:30 |
On Saturday 10 March 2007 21:35, Kevin Krammer wrote:
> On Saturday 10 March 2007 21:04 +0100, Nigel Henry
wrote:
> > Konqueror in file manager mode when you open a
directory only shows the
> > number of subdirectories, and any files in the
parent directory.
> >
> > For example, I have a directory named
Sounds-Library with all my .wav
> > soundfiles in it. When I open the Sounds-Library
directory it says there
> > is one file, and 52 Folders (subdirectories).
Within the subdirectories
> > are more subdirectories, and within these are the
soundfiles.
> >
> > What I'm looking for is a way to see (recursively)
how many soundfiles
> > are in my Sounds-Library directory. Is this
possible with Konquerors file
> > manager?
>
> Right click the folder and open its properties window
That unfortunately only gives me the size of the directory,
including files in
all subdirectories, but move on down.
>
> > Or can anyone suggest a CLI solution for solving
this problem?
>
> $ find /path/to/folder -type f | wc -l
This does the trick. 8.4GB of .wavs translates to 17480
files. That seems one
hell of a lot of files, and it's no wonder that I find it so
difficult
choosing a sound.
Thanks a bunch for the CLI solution.
>
> Cheers,
> Kevin
Nigel.
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|
|
| Re: How to see total number of filesin
Directory with subdirectories |
  Austria |
2007-03-10 15:32:17 |
On Saturday 10 March 2007 22:27 +0100, Nigel Henry wrote:
> On Saturday 10 March 2007 21:35, Kevin Krammer wrote:
> > On Saturday 10 March 2007 21:04 +0100, Nigel Henry
wrote:
> > > Konqueror in file manager mode when you open
a directory only shows the
> > > number of subdirectories, and any files in
the parent directory.
> > >
> > > For example, I have a directory named
Sounds-Library with all my .wav
> > > soundfiles in it. When I open the
Sounds-Library directory it says
> > > there is one file, and 52 Folders
(subdirectories). Within the
> > > subdirectories are more subdirectories, and
within these are the
> > > soundfiles.
> > >
> > > What I'm looking for is a way to see
(recursively) how many soundfiles
> > > are in my Sounds-Library directory. Is this
possible with Konquerors
> > > file manager?
> >
> > Right click the folder and open its properties
window
>
> That unfortunately only gives me the size of the
directory, including files
> in all subdirectories, but move on down.
Works for me, i.e. produces the same number of files the
commadline solution
finds
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|
|
| Re: How to see total number of filesin
Directory with subdirectories |
  France |
2007-03-10 16:16:49 |
On Saturday 10 March 2007 22:32, Kevin Krammer wrote:
> On Saturday 10 March 2007 22:27 +0100, Nigel Henry
wrote:
> > On Saturday 10 March 2007 21:35, Kevin Krammer
wrote:
> > > On Saturday 10 March 2007 21:04 +0100, Nigel
Henry wrote:
> > > > Konqueror in file manager mode when you
open a directory only shows
> > > > the number of subdirectories, and any
files in the parent directory.
> > > >
> > > > For example, I have a directory named
Sounds-Library with all my .wav
> > > > soundfiles in it. When I open the
Sounds-Library directory it says
> > > > there is one file, and 52 Folders
(subdirectories). Within the
> > > > subdirectories are more subdirectories,
and within these are the
> > > > soundfiles.
> > > >
> > > > What I'm looking for is a way to see
(recursively) how many
> > > > soundfiles are in my Sounds-Library
directory. Is this possible with
> > > > Konquerors file manager?
> > >
> > > Right click the folder and open its
properties window
> >
> > That unfortunately only gives me the size of the
directory, including
> > files in all subdirectories, but move on down.
>
> Works for me, i.e. produces the same number of files
the commadline
> solution finds
>
> Cheers,
> Kevin
I was trying it on Fedora Core 2, using KDE
3.2.2-14.FC2.legacy Red Hat. I'll
try it again when I boot into Fedora Core 5 with a much
later version of KDE,
and Konqueror.
That's the problem with using ancient distro's, but the CLI
commands still
work on them. The power of the command line.
Thanks for the reply.
Nigel.
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|
|
| Re: How to see total number of filesin
Directory with subdirectories |
  France |
2007-03-10 18:09:05 |
On Saturday 10 March 2007 23:16, Nigel Henry wrote:
> On Saturday 10 March 2007 22:32, Kevin Krammer wrote:
> > On Saturday 10 March 2007 22:27 +0100, Nigel Henry
wrote:
> > > On Saturday 10 March 2007 21:35, Kevin
Krammer wrote:
> > > > On Saturday 10 March 2007 21:04 +0100,
Nigel Henry wrote:
> > > > > Konqueror in file manager mode when
you open a directory only shows
> > > > > the number of subdirectories, and
any files in the parent
> > > > > directory.
> > > > >
> > > > > For example, I have a directory
named Sounds-Library with all my
> > > > > .wav soundfiles in it. When I open
the Sounds-Library directory it
> > > > > says there is one file, and 52
Folders (subdirectories). Within the
> > > > > subdirectories are more
subdirectories, and within these are the
> > > > > soundfiles.
> > > > >
> > > > > What I'm looking for is a way to
see (recursively) how many
> > > > > soundfiles are in my Sounds-Library
directory. Is this possible
> > > > > with Konquerors file manager?
> > > >
> > > > Right click the folder and open its
properties window
> > >
> > > That unfortunately only gives me the size of
the directory, including
> > > files in all subdirectories, but move on
down.
> >
> > Works for me, i.e. produces the same number of
files the commadline
> > solution finds
> >
> > Cheers,
> > Kevin
>
> I was trying it on Fedora Core 2, using KDE
3.2.2-14.FC2.legacy Red Hat.
> I'll try it again when I boot into Fedora Core 5 with a
much later version
> of KDE, and Konqueror.
>
> That's the problem with using ancient distro's, but the
CLI commands still
> work on them. The power of the command line.
>
> Thanks for the reply.
>
> Nigel.
Just to verify that KDE's Konqueror on Fedora Core 5 does
show in directory
properties the number of files, and sub-folders correctly
for my
Sounds-Library directory.
KDE version 3.5.5-0.2.fc5 Fedora-Core
Nigel.
> ___________________________________________________
> This message is from the kde mailing list.
> Account management: https://ma
il.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.h
tml.
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|
|
[1-6]
|
|