bash command to access smb and copy automatically

S

sr88

Guest
Dear Guru/Master of Samba especially master of Bash Command,

i have qnap server , and from my client (linux) want to access samba server on qnap
and copy automatically


1. smbclient to samba to make a folder "folder-TodayDATE"
example : folder-27okt12

2. then copy file from my linux to that folder
cp myfile.sav myfile-todayDate
auto add -todayDate

3. then exit.

for the above 3steps, i want to make it 1file bash, and put it in crontab -e.

thx.


Hong:eek:
 



Members online


Top