[YLUG] mv and cp to NAS via samba

mike cloaked mike.cloaked at gmail.com
Fri Feb 20 08:49:06 UTC 2009


On Fri, Feb 20, 2009 at 8:48 AM, mike cloaked <mike.cloaked at gmail.com> wrote:
> I don't know what version of linux you are using but I use automount
> (I use Fedora) and provided the autofs package is installed you can
> add a line to /etc/auto.misc of the form:
>
> mynasshare -fstype=cifs,rw,noperm,user=username,password=mypassword,uid=mike,gid=mike
> ://sharedom/sharename
>
> Then simply referring to mynasshare will mount it -
> eg ls /misc/mynasshare
> will list the files on the drive
>
> or
> mv mylocalfile.txt .misc/mynasshare/

That shouldhave been
mv mylocalfile.txt /misc/mynasshare/

-- 
mike



More information about the York mailing list