Efficient copy of entire directory

Posted by Hui Jin on Stack Overflow See other posts from Stack Overflow or by Hui Jin
Published on 2010-04-05T03:12:44Z Indexed on 2010/04/05 3:13 UTC
Read the original article Hit count: 250

Filed under:

I want to copy one directory and the two files under it to another shared location of shared storage. Is it possible to combine the three(one directory and two files) as a continuous file writing and decompose it at another side to save the cost? I am limited to c language and Unix/Linux. I am considering to create a structure with the inode info and get the data at receiver.

Thanks!

© Stack Overflow or respective owner

Related posts about c