Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|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. –  Sven Nov 2 '11 at 22:32

2 Answers 2

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

share|improve this answer

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.

share|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 '12 at 17:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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