Comments (7)
...and I can not find a workaround...
ceremcem@cca-erik:~$ bsync ./-.-\ cca-home/ /media/ceremcem/zfs_zencefil/-.-\ cca-home/
Loading filelists...
Error: difference in snaps for path: bin/firefox.d
ceremcem@cca-erik:~$ find ./-.-\ cca-home/ -iname "firefox.d"
ceremcem@cca-erik:~$
from bsync.
Hi ceremcem,
Can you try bsync branch I suggested you in #7 ?
You can also delete all .bsync-snap-* files, but you will loose previous history.
You may run bsync with -v (verbose) to get the .bsync-snap filenames.
This is strange, it's like the firefox.d has been deleted while bsync was making the snapshots.
from bsync.
After running bsync with -v, you may send me the 2 .bsync-snap files from the 2 directories. I'll take a look at it.
from bsync.
No no, sorry, I should say that I manually deleted firefox.d in order to get a workaround.
from bsync.
Let me know if you tested my new branch...
from bsync.
I have the same issue. What should i do?
from bsync.
Hello @dooblem,
I also experienced this kind of issue, not with firefox.d
but with the .bash_history
file, probably because I was using another terminal during the sync... See below for a summary of bsync output.
I followed your suggestion in #7 (comment) and tested the code of your nostrict
branch.
Apparently this seemed to solve the issue (without needing to remove the .bsync-snap-* files) and I was also asked what to do with the problematic file (just like a regular bsync conflict).
So I believe that this code would deserve to be merged into master (either directly or behind a command-line option such as -f
or -k
...)
Best regards.
~$ ~/forge/git-anon/bsync/bsync ~/ [SERVER]:[DIRECTORY]
Loading filelists...
Error: difference in snaps for path: .bash_history
~$ cd ~/forge/git-anon/bsync/
~/forge/git-anon/bsync$ git checkout nostrict
Branch nostrict set up to track remote branch nostrict from origin.
Switched to a new branch 'nostrict'
~/forge/git-anon/bsync$ cd
~$ ~/forge/git-anon/bsync/bsync ~/ [SERVER]:[DIRECTORY]
Warning: difference in snaps, ignoring history for path: .bash_history
Loading filelists...
CONFLICT detected on: .bash_history
LEFT DIR CHANGE RIGHT DIR CHANGE
12967B (2015-08-31 00:28:47) 10778B (2015-08-30 21:34:03)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CONFLICT detected on: .bash_history
LEFT DIR CHANGE RIGHT DIR CHANGE
12967B (2015-08-31 00:28:47) 10778B (2015-08-30 21:34:03)
Which one do I keep? [1/2/1a/2a/Quit/Help] 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(LEFT DIR CONTENT) (RIGHT DIR CONTENT) (ACTION)
[...]
Todo in [HOME]: sync:1
Todo in [SERVER]:[DIRECTORY]: mv:1 rm:2 cp:10 sync:33
Apply actions? [y/N] y
Applying actions...
Updating filelists...
Done!
~$ echo $?
0
from bsync.
Related Issues (20)
- is there a way to ignore hidden files HOT 2
- too long for Unix domain socket HOT 1
- On macOS, how do I know if I have GNU Find installed? HOT 4
- What is the format of the .bsync-ignore file? HOT 4
- Keep a watch HOT 2
- bsync errors out on conflict HOT 8
- Ignore by file extension?
- bsync-ignore patterns match all hits in subtree HOT 1
- Add support for FTP-SSL (AUTH TLS) HOT 1
- bsync suport 3 nodes HOT 1
- bsync daemon HOT 2
- unix_listener: path $PATHNAME too long for Unix domain socket HOT 1
- Symlinks aren't followed HOT 4
- file move into subfolder doesn't seem to be detected HOT 3
- Possible to have filename.* at .bsync-ignore
- bsync fails on top-level paths with spaces
- Some moved/renamed/deleted files are not detected HOT 1
- suggestion: bsync -parameter for keeping the newer file with same name automaticaly
- Unix path too long HOT 2
- [Feature Request] Add ability to set rsync transfer rate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsync.