Skip to content

Instantly share code, notes, and snippets.

Avatar

Dr. András Korn akorn

  • Budapest, Hungary
View GitHub Profile
@akorn
akorn / rsync_parallel.sh
Last active Apr 21, 2021 — forked from rcoup/rsync_parallel.sh
This script can transfer large directory structures with parallel rsync workers. Example command line: `rsync_parallel . -- -aHSAX --exclude '*13' . /tmp/2/.`
View rsync_parallel.sh
#!/bin/zsh
#
# Copyright (c) 2014, 2020 by Dr. András Korn. Implements the basic idea of a similar script by Robert Coup (2013).
# License: GPLv3
function usage() {
echo 'Usage:
rsync_parallel [--parallel=N] <args to find(1) to generate list of stuff to transfer> -- <args to rsync>