Everyday I would like to sync the files and folders in the windows server with AIX server and vice versa. Does anyone suggest me, How I can write a shell or bat script to achieve this?

link|improve this question
also asked on stack overflow – glenn jackman Nov 2 '11 at 21:01
@BioLounge: Please, do not crosspost your questions on more than one single StackExchange site. – SvenW Nov 2 '11 at 22:32
feedback

2 Answers

Have a look at rsync and search for this term here, you will find many tips regarding this topic.

link|improve this answer
feedback

Rather than sync files, why not make AIX write them to a Windows fileshare? Install bos.cifs from your base CD and update, then you can mount a Windows share on your AIX system and write normally.

link|improve this answer
This has the added benefit of not requiring AIX to have any control of the security of the fileshare. So have your Windows admin create a share with a dedicated account for AIX to have full read/write access, and then they can ACL users on at the Windows domain level instead of your trying to integrate something like Samba with Windows. – Demosthenex Feb 29 at 17:55
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.