Samba Client get Windows shared files

use this command to list shared file folder create in windows
smbclient -L //[IP|hostname] [-U username]
e.g.
smbclient -L //192.168.1.100

use this command to browse shared file folder
smbclient '//[IP|hostname]/[resource name]' [-U username]
e.g.
smbclient '//192.168.1.100/music'

use this command to mount resource to a folder
smbmount //IP/[resource name] /[local folder] [-o options]
e.g.
smbmount //192.168.1.100/music /mnt/windows/music

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s