Revision | 291 (tree) |
---|---|
Time | 2021-02-11 21:30:50 |
Author | mateuszviste |
packages are synced through a separate script for faster website updates
@@ -0,0 +1,10 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +# sync packages (with sources) to the osdn storage server | |
4 | +rsync -rtOvz --delete --progress packages mateuszviste@storage.osdn.net:/storage/groups/s/sv/svardos/ | |
5 | + | |
6 | +# -r recurse into directories | |
7 | +# -t preserve modification times | |
8 | +# -O this tells rsync to omit directories when it is preserving modification times | |
9 | +# -v more verbosity | |
10 | +# -z compress file data during the transfer |
@@ -7,10 +7,5 @@ | ||
7 | 7 | # Synchronization of ISO files, website and repositories towards sourceforge. |
8 | 8 | # |
9 | 9 | |
10 | -set -e | |
11 | - | |
12 | -# sync packages (with sources) to the osdn storage server | |
13 | -rsync -a --progress --delete packages mateuszviste@storage.osdn.net:/storage/groups/s/sv/svardos/ | |
14 | - | |
15 | 10 | # sync the website (with repositories and downloads) |
16 | -rsync -rtDOvz --delete --progress website/ mateuszviste@shell.osdn.net:/home/groups/s/sv/svardos/htdocs/ | |
11 | +rsync -rtOvz --delete --progress website/ mateuszviste@shell.osdn.net:/home/groups/s/sv/svardos/htdocs/ |