J
J
justyork2019-05-06 13:45:45
PHP
justyork, 2019-05-06 13:45:45

How to split a directory into several archives?

The task is this. It is necessary to set up synchronization of some data between two servers, namely, there is a directory with images that weighs several gigs. The script does not want to create an archive with all images normally through php, I think you can specify when creating an archive that archives of 300 mb are created and there it is already easy to accept them on another server.
If you have any ideas on how to make it easier, that would be great too.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman PHP, 2019-05-06
@justyork

don't reinvent the
rsync wheel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question