Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: smb

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    can anybody suggest my how can i search for all *.jpg files shared with smbd on all LAN computers.. ?


  2. #2
    Linux User
    Join Date
    Jul 2002
    Daytona Beach, FL
    you could do some recursive find commands and what not but that will beat up your disks pretty good - is there a specific goal in mind here or are you just looking to see who has the porn shared on the network?

    Quiet brain, or I\'ll stab you with a Q-tip.

  3. #3
    what do you mean "some recursive find commands" ?
    exactly what commands ? how ?

    actually I need to search for *.mp3 files, but i said *.jpg

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    There once was the findsmb command, which would list all SMB nodes available through broadcasting. It's not shipped with the samba-client distrib in RH8, though. I think nmblookup "*" can do about the same thing, though. It's probably documented in the manpage for nmblookup. Then you'll just receive a recursive directory listing through smbclient and grep -i \.jpg$, I guess.
    I don't know how good you are. Are these pointers enough, or do you want me to write the whole thing for you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts