I am executing following steps to mount my server and copy the files. But it interrupts for password. How can I do it automatic ?
sudo apt install cifs-utils
sudo mount -t cifs -o user=user.name //192.168.X.X/BAfolder /media
cp -r /media/BAfolder/* /home/techy/Documents/files/
-credentials=filename
, where you may put username, password and windows domain name (seeman mount.cifs
) – ridgy Dec 23 '16 at 13:30