Hi Experts ,
I have a written a bash script to copy files from linux server to windows.
Now the requirements have changed. The files on linux server are now stored in date folders.
folder name - 2011-01-21
and files under it.
I want to write a script that will check for the specific folder name under windows server , if it is not there it will create one and will copy files from 2011-01-21 and respectively for other folders as well.
mount -t smbfs -o username=name,password=password //server/foldername /mnt/data
cp *.pdf /mnt/data