Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rsync notice #1033

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Please follow these steps:
package manager as the `aria2` package (on Debian-based distributions this
can be installed by running `sudo apt install aria2`).

* Make sure `rsync` is available. On most Linux distributions it should already be installed.
If not, it should be available via the package manager as the `rsync` package
(on Debian-based distributions this can bi installed by running `sudo apt install rsync`).

* Please use the script `scripts/download_all_data.sh` to download
and set up full databases. This may take substantial time (download size is
556 GB), so we recommend running this script in the background:
Expand Down
5 changes: 5 additions & 0 deletions scripts/download_all_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ if ! command -v aria2c &> /dev/null ; then
exit 1
fi

if ! command -v rsync &> /dev/null ; then
echo "Error: rsync could not be found. Please install rsync."
exit 1
fi

DOWNLOAD_DIR="$1"
DOWNLOAD_MODE="${2:-full_dbs}" # Default mode to full_dbs.
if [[ "${DOWNLOAD_MODE}" != full_dbs && "${DOWNLOAD_MODE}" != reduced_dbs ]]
Expand Down