-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync without interactive prompt #12
Comments
Hi, thanks for your feedback. |
Hi dooblem, |
Hi Burian, If you can make the necessary changes I could test the new version in my UNIX lab. If we do this, dooblem only have to review and update the version. Thanks |
Hi guys, |
Hi, |
Sorry, I didn't see your PR before this message. |
I would also like this. Ideally, it would autoaccept the left branch and create a .conflict file with the right content. This should be relatively simple by making use of rsync's --backup and --suffix= arguments. |
See also #23 . We may integrate this kind of solution. .conflict files would be nice too. |
To fix the problem with the batch-mode change the following code: Replace the code in line 1025 with the following code:
This will make accept all changes automatically. |
thanks @TB1234 |
Little bit confused, is there a switch for that? There is no info about in the README.md? |
Yes, the README has to be updated. Just read the inline help of the command. There is a -b (batch) switch. |
Hi dooblem,
I'm Sorry, this is not a issue but I don´t find other method to contact to you.
I have one question, is it possible synchronised directories without interactive prompt?.
I want to use the cron daemon to automate the synchronization of a directory, but this will not be possible if I have an interactive prompt.
For example:
[root@aest-segu42 apeiti]# /root/bsync -v /home/apeiti/ [email protected]:/home/apeiti
Password:
Loading filelists...
Loading original filelist from snap files...
Loading .bsync-snap-20140616160929.950125...
Loading dir1 filelist...
Loading dir2 filelist...
Analysing original paths...
Analysing remaining new paths in dir1...
Analysing remaining new paths in dir2...
(LEFT DIR CONTENT) (RIGHT DIR CONTENT) (ACTION)
passwd_acceso1 <-- passwd_acceso1 (sync)
Todo in /home/apeiti/: cp:1 sync:1
Todo in [email protected]:/home/apeiti:
Apply actions? [y/N] y
Applying actions...
Applying actions in dir2...
Applying actions in dir1...
rsync: A000552.dmp
rsync: passwd_acceso1
Updating filelists...
Updating snap files: .bsync-snap-20140616161840.452684...
Done!
Cleaning SSH master...
[root@aest-segu42 apeiti]#
Thanks a lot
The text was updated successfully, but these errors were encountered: