Skip to content

local use case #4

Description

@dkebler

Just want to use syncd locally but script is only set up for ssh.

I just changed this line

COMMAND="rsync $RSYNC_OPTIONS --exclude=$RSYNC_EXCLUDE --delete $WATCH_DIR/ $SSH_USER@$SSH_HOST:$REMOTE_TARGET_DIR"

to

COMMAND="rsync $RSYNC_OPTIONS --exclude=$RSYNC_EXCLUDE --delete $WATCH_DIR/ $REMOTE_TARGET_DIR"

Would be sweet if the SSH setting were not supplied (commented out) then the script would assume local.

Would be even sweeter if I made a PR. Bash is not my bag but I'll give it a shot when I have some "spare time".

Thx...great little repo!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions