How to share a Raspberry Pi folder with a Windows PC

sudo apt-get update

sudo apt-get install samba samba-common-bin

 

Configure the software

sudo nano /etc/samba/smb.conf

 

Scroll to bottom of file, add the following

 

[USBDrive]
comment=USB Drive Share
path=/mnt/usbdrive
browseable=Yes
writeable=Yes
only guest=no
create mask=0777
directory mask=0777
public=no

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>