On Thursday 02 July 2009 09:41:47 Roberto Ragusa wrote:
Kevin Kempter wrote:
> One more question:
> is there a way via smbclient to execute the equivelant of a "find . | wc
> -l" ? I'm wanting a count of how many files I have on the drive,
> including all dirs and sub-dirs.
You can mount the filesystem and use all the Unix tools you need.
Something like:
mkdir /mnt/raw
mount 192.168.1.30:raw /mnt/raw -t cifs
(a lot of possibly useful extra options in the mount manpage,
such as "-o guest", "-o ro")
Best regards.
--
Roberto Ragusa mail at robertoragusa.it
Works perfectly !
Thanks for the advice