Access windows file system from linux shell script
Solution 1:
Yes, you can mount a windows share into the linux filesystem using mount.cifs e.g.
mkdir /mnt/windowsfs
mount -t cifs //server/share -o username=user,password=P4ssw0rd /mnt/windowsfs
Once you've done that you can (with suitable permissions) access and manipulate the files in /mnt/windowsfs.
Solution 2:
Mounting the remote share is the most direct approach. However, there's also the smbclient
executable, that gives FTP-like access to remote shares. It's a part of the Samba software package.