Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

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

 
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.