Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wor/goanysync
Directory symlinker and content syncer.
https://github.com/wor/goanysync
Last synced: 12 days ago
JSON representation
Directory symlinker and content syncer.
- Host: GitHub
- URL: https://github.com/wor/goanysync
- Owner: wor
- License: gpl-3.0
- Created: 2012-07-02T18:17:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T11:54:38.000Z (almost 8 years ago)
- Last Synced: 2024-08-02T02:14:41.090Z (3 months ago)
- Language: Go
- Size: 329 KB
- Stars: 44
- Watchers: 9
- Forks: 6
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: COPYING
Awesome Lists containing this project
README
goanysync
=========goanysync is a relatively small program to replace given directories in HDD/SSD
with symlinks to tmpfs and to sync this tmpfs contents back to HDD/SSD. It is a
rewrite of "anything-sync-daemon" with go programming language
(see:[Anything-sync-daemon](https://wiki.archlinux.org/index.php/Anything-sync-daemon)).Two main use cases are reducing wear on SSD and speeding up programs by moving
their data directories to tmpfs.Motivation
----------goanysync began as fork of anything-sync-daemon (by graysky), but is now
basically a complete rewrite and only the documentation and functionality still
bares resemblance to asd. Rewrote was mainly inspired by permission problems
with symlinked dirs and by the original programs bash code which, for example,
contained this line: [[ -d "$VOLATILE$i" ]] || mkdir -p "$VOLATILE$i" ||
"install -Dm755 $VOLATILE$i"Run dependencies
----------------* rsync
Build dependencies
------------------* autoconf
* automake
* libtool
* go (golang)
* gzip
* txt2manBuild and install (git)
-----------------------./autogen.sh
make
make installAlternatively for Arch Linux an aur package is provided:
[https://aur.archlinux.org/packages.php?ID=60715](https://aur.archlinux.org/packages.php?ID=60715)Build and install (source package)
----------------------------------./configure
make
make installSource package for the most recent tagged version is located at
[goanysync downloads](https://github.com/wor/goanysync/downloads)Also for Arch Linux an aur package is provided:
[https://aur.archlinux.org/packages.php?ID=61269](https://aur.archlinux.org/packages.php?ID=61269)Debian package
--------------Also a Debian package is provided for the most recent tagged version:
[goanysync downloads](https://github.com/wor/goanysync/downloads)The package was build on Ubuntu 12.04. Recent .deb package can always be build from
goanysync git source using commands:./autogen.sh
make debThe automatically generated package definitely is not up to packaging standards
but should be good enough for testing and basis for a proper package.Usage
-----Just edit installed (default location) /etc/goanysync.conf to suit your needs
and call:goanysync start
And remember to call:
goanysync stop
Before booting.
Daemon scripts to do above automatically are provided for Archlinux rc.d,
systemd and upstart systems.