Switch branches/tags
Nothing to show
Commits on Aug 24, 2017
Commits on Aug 23, 2017
  1. Merge pull request #59 from greezybacon/feature/inline-backup-pull

    greezybacon committed on GitHub Aug 23, 2017
    Improve performance for syncing of large folders
Commits on Aug 4, 2017
  1. pull: Only delete local files if removed remotely

    greezybacon committed Aug 3, 2017
    This patch adds a check before local deletion to inspect if a file to be
    deleted was marked as remotely deleted.
    This should help a situation where, when a sync runs for a long time (more than
    a few seconds), it becomes likely that a new file will be created on the local
    or remote system. Such a file could be removed by the sync if it sorts
    alphabetically after large files holding the sync up. When the new file is
    encountered, it is removed because it was not protected by the exclude list in
Commits on Jul 11, 2017
  1. pull: Fix pull of recursive dirs

    greezybacon committed Jul 11, 2017
    If a folder is received with the --files-from parameter, and the folder name
    ends with a trailing slash, then rsync will copy the contents of the folder
    recursively. This is not intended in the sync process. Instead, only the stat
    information on the folder should be pulled. The files in the folders will be
    communicated via separate line items.
Commits on May 26, 2017
  1. pull: Consider local symbolic links as significant

    greezybacon committed May 26, 2017
    This patch adds symbolic files into the local and remote file listings. Without
    them in the lists, when the lists are compared, locally-added symbolic links
    appear to have been removed on the remote server. So, when the pull is run, the
    link files are not protected and are removed.
Commits on May 8, 2017
  1. pull: Add custom options to both ends of the pull

    greezybacon committed May 8, 2017
    The split pull using the inline backup technique neglects extra options to
    rsync which may infleuence the files pulled, such as --acls or --xattrs. Such
    changes would be reverted in the push phase of the sync.
Commits on Apr 7, 2017
  1. pull: Fix missing pull of changes in permissions

    greezybacon committed Apr 4, 2017
    If a file was not being changed or added, then the pull() function would not
    queue it for rsync. Therefore changes to only change time and permissions would
    not be synchronized in the pull() phase and would be replaced in the push()
Commits on Jan 9, 2017
Commits on Dec 19, 2016
  1. pull: Fix not pulling some directories

    greezybacon committed Dec 19, 2016
    Some directories, such as new empty ones added remotely, would not be pulled
    because of a wildcard match mishap. Then, because the directories were not
    pulled, the remote directories would be removed in the following push cycle.
Commits on Dec 8, 2016
  1. Disambiguate files added in parallel with the sync from those pulled

    greezybacon committed Dec 8, 2016
    This removes the usage of the `added-prev` file which included both files
    fetched from the remote server in the `pull` process as well as files
    created locally during the sync. Instead, it adds and removes filenames of
    files added or deleted during the `pull` part of the sync to the `tree-prev`
    file. This allows the files which were added in parallel with the `pull` to
    be naturally included in the next run of the sync process.
    This patch also removes another invocation of `rsync` to collect a local
    snapshot of the file system after the sync has completed.
Commits on Dec 7, 2016
Commits on Dec 6, 2016
  1. pull: Do backup inline with the pull process

    greezybacon committed Dec 6, 2016
    This removes one of the trips to the remote server. It does the dry-run of the
    pull and analyzes the output. For each file which exists locally, a backup is
    made. The filenames are then piped to another instance of rsync which actually
    performs the sync.
Commits on Dec 5, 2016
  1. Fix sorting issue of `tree-prev`

    greezybacon committed Dec 5, 2016
    Also, because the `tree-current` includes files which might have been
    removed during the sync, the `tree-after` is a better representation of the
    state of the tree after the sync. It also includes the locally added files
    already and is properly sorted.
  2. Fix push of remotely-deleted files

    greezybacon committed Dec 5, 2016
    This adjusts the matching mechanism to create a list of locally added and
    deleted files, and remotely deleted files. Then, when the push and pull are
    run, locally added files are excluded from the pull and remotely deleted
    files are excluded from the push.
    This fixes the issue where remotely deleted files are not pulled, but then,
    because they were not excluded, were also pushed back to the remote server.
    Therefore, if files were removed remotely, they would appear again during
    the sync.
Commits on Nov 30, 2016
  1. reword: sync: Fix dropping of local files

    greezybacon committed Nov 30, 2016
    Fixes an issue where a file does not appear as new on the local side but does
    not exist on the remote side. When the sync is performed the local file is
    removed. If it is re-created locally, it will again not appear as new since the
    previous sync marked it as existing before running the sync.
    This fix suggests a file listing should be captured of the remote side and
    compared with the file listing on the local side. This will help assess files
    which appear to have been deleted remotely but still exist locally, as well as
    files which exist locally only but do not exist remotely. This comparison can
    be performed without comparing current and previous file listings.
    It also incorporates several speed improvements, especially where using rsync
    to synchronize extended attributes.
Commits on Aug 2, 2016
  1. Update

    sickill committed on GitHub Aug 2, 2016
Commits on May 22, 2016
  1. Merge pull request #57 from ktaragorn/osx_fixes

    sickill committed May 22, 2016
    Fixes for OSX and space in path
Commits on Mar 18, 2014
  1. Merge pull request #48 from m2ym/fix-missing-RSYNC_OPTS

    sickill committed Mar 18, 2014
    Add missing RSYNC_OPTS.
Commits on Feb 16, 2014
  1. Add missing RSYNC_OPTS.

    Tomohiro Matsuyama committed Feb 16, 2014
    This fix a bug skipping a symlink'ed directory for sync.
Commits on Feb 5, 2014
  1. Merge pull request #47 from rafaelmuylaert/patch-1

    torfason committed Feb 5, 2014
    Fix issues that affected files with accents and international characters in their names.
     * Improve sed escaping of accents
     * Use $LANG setting for sorting instead of "C", if $LANG is set
Commits on Feb 1, 2014
  1. Respect system locale

    rafaelmuylaert committed Feb 1, 2014
    Should work in any locale now
  2. Allow names and paths with accents

    rafaelmuylaert committed Feb 1, 2014
    Changed LC_ALL to en_US.utf-8
Commits on Jan 31, 2014
Commits on Apr 18, 2013
  1. Prevent unsafe run in absence of GNU coreutils

    torfason committed Apr 18, 2013
    It has been found to be unsafe to run bitpocket if the coreutils
    (ls/cp/mv/mkdir/sed/...) in the system are not the GNU coreutils.
    In particular, running bitpocket on systems with BSD sed can
    cause data loss.
    The permanent resolution is to make sure that bitpocket will
    work with any version of these tools. In the meantime, we
    disable the use of bitpocket on systems where it is not safe
    to use (and will not work).
Commits on Mar 18, 2013
  1. Update

    sickill committed Mar 18, 2013
  2. Merge pull request #37 from torfason/master

    sickill committed Mar 18, 2013
    Bug fix, backup, git packing, and help command
Commits on Mar 17, 2013
  1. Fix typos in

    torfason committed Mar 17, 2013
Commits on Mar 15, 2013
  1. Improvements to

    torfason committed Mar 15, 2013