-3

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?

BioLounge
  • 115
  • 1
  • 1
  • 6

2 Answers2

2

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

Sven
  • 97,248
  • 13
  • 177
  • 225
1

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.

Demosthenex
  • 111
  • 2
  • 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