https://github.com/mrc-ide/syncr
:arrows_clockwise: R interface to rsync
https://github.com/mrc-ide/syncr
cluster infrastructure
Last synced: 4 months ago
JSON representation
:arrows_clockwise: R interface to rsync
- Host: GitHub
- URL: https://github.com/mrc-ide/syncr
- Owner: mrc-ide
- License: other
- Created: 2016-05-23T08:54:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T14:07:54.000Z (over 7 years ago)
- Last Synced: 2024-08-13T07:15:11.888Z (6 months ago)
- Topics: cluster, infrastructure
- Language: R
- Homepage:
- Size: 23.4 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - mrc-ide/syncr - :arrows_clockwise: R interface to rsync (R)
README
# syncr
[](http://www.repostatus.org/#wip)
[](https://travis-ci.org/mrc-ide/syncr)
[](https://ci.appveyor.com/project/mrc-ide/syncr)
[](https://codecov.io/github/mrc-ide/syncr?branch=master)> Synchronise Directories
Syncronise directories using `rsync`. This just uses `system2` to shell out to call `rsync`; not any fancy library connections or anything. On windows, install [Rtools](http://cran.r-project.org/bin/windows/Rtools) and this package will work.
**WARNING** This package just wraps `rsync`. It doesn't protect you from it deleting all your files, overwriting your thesis or painting your pet dog.
## Installation
```r
drat:::add("mrc-ide")
install.packages("syncr")
```## Usage
```r
syncr::rsync(src = system.file("DESCRIPTION", package = "syncr"), dest = tempfile(), dry_run = TRUE)
```