Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to copy a lot of folders to another directory. I used cp -R command to copy them from source to destination. After all the copying was finished, I found that when I was copying, some files were added to the source directory and the copying action was finished.

Say there are 20000 files in the source directory and 19999 files in the destination: how can I copy the missing one without copying them all over again?

Is there a smarter way?

I tried rsync, but ksh said there is no rsync.

share|improve this question

rsync is in the AIX Toolbox for Linux Applications

You can download the RPM and install it using normal rpm commands.

share|improve this answer

Your Answer


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.