rsync is an open source utility that provides fast incremental file transfer. See documentation
- The Core Planners: [email protected]
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/rsync as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/rsync)
pkg_deps=(core/rsync)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/rsync --binlink
will add the following binaries to the PATH:
- /bin/rsync
For example:
$ hab pkg install core/rsync --binlink
» Installing core/rsync
☁ Determining latest version of core/rsync in the 'stable' channel
→ Found newer installed version (core/rsync/3.1.3/20200928133838) than remote version (core/rsync/3.1.3/20200404014552)
→ Using core/rsync/3.1.3/20200928133838
★ Install of core/rsync/3.1.3/20200928133838 complete with 0 new packages installed.
» Binlinking rsync from core/rsync/3.1.3/20200928133838 into /bin
You can now use the binary as normal. For example:
/bin/rsync --help
or rsync --help
$ rsync --help
rsync version 3.1.3 protocol version 31
Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
rsync is a file transfer program capable of efficient remote update
via a fast differencing algorithm.
Usage: rsync [OPTION]... SRC [SRC]... DEST
or rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST
or rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST
or rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST
...
...