Re: accessing a samba network drive via the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux