Link to home
Start Free TrialLog in
Avatar of raaj4354
raaj4354

asked on

Rsync class files from AIX to windows

I have a directory on AIX where I ftp out the java (from windows box) and compile the  java using the shell scripts. I am trying to rsync .class files back to the windows.
The problem here is when I rsync I get all the class files on the AIX on the folder at that point of time.

But I wanted to know if there is a way to only get the class files for the java ftped out recently. Say I ftped 4 java files on to the AIX box and compiled them. I only want to get those 4 class files to the windows box.
Avatar of Julian Parker
Julian Parker
Flag of United Kingdom of Great Britain and Northern Ireland image

if you have ssh running on the AIX system you can use pscp from the Putty suite and copy them off using something like the following from the windows system;

<assumes pscp is in the search path or in c:\!!>
c:\> pscp root@aixhost:/path/to/file .

you can do recursive copies using -r (I think)
Do you have Delta Copy or Cygwin / cwRsync installed and running on the Windows box?

If not there's nothing for the AIX rsync client to talk to, on your Windows box.


Also worth a look: http://winsupport.org/utilities/iwrs.html
Avatar of raaj4354
raaj4354

ASKER

jools:
I wanted to do the above rsync as part of automation process through my CI tool.

arober11:

I have cygwin and rsync installed on the windows side.
ASKER CERTIFIED SOLUTION
Avatar of skullnobrains
skullnobrains

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial