L
L
lastkrick2013-08-20 16:18:56
linux
lastkrick, 2013-08-20 16:18:56

Rsync download priorities?

Please advise a way to specify the file download order for rsync.
You need to copy the directory so that one particular file is downloaded most recently.
The option to run rsync twice (first for the entire directory, and then for this file) disappears because the directory is large and something may change during copying.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Akulovich, 2013-08-20
@AterCattus

And to get a list of files, how to sort it, and then transfer it to rsync via --include-from for example?

4
4dmonster, 2013-08-20
@4dmonster

break it down into 3 steps:
1st - rsync a directory other than "one specific file"
2nd - rsync "one specific file"
3rd - rsync a directory other than "one specific file"
or is that also not possible?

A
Alexander Lebedev, 2013-08-21
@cawaleb

Alternatively, download only *rpm from the repositories. And use createrepo for newer rhel and fedora or yum-arch for rhel3 to create custom repository directory files. As far as I understand, your task is to create a repository on the local network in order to update several servers without Internet access.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question