Jbudone Posted July 24, 2013 Report Share Posted July 24, 2013 I know I know! People have complained about this before, but in my case this isn't something I can simply brush off. I'm using btsync to keep my music folders completely in sync between my computers. Pretty cool right? The problem is that my files are being renamed to %.!sync and are no longer recognized by my music player. I've wrote up a little bash script to fix this, but it would be much more desirable to avoid the file renaming altogether. Is this something that could be fixed in the future?find -L . -type f -name '*.!sync' -print0 | while IFS= read -r -d '' file; do eval $(echo mv "$(printf '%q' "$file")" "$(printf '%q' "$file" | sed -e 's/\.\\\!sync//g')"); donethe above works in bash. Not sh or fish Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted July 25, 2013 Report Share Posted July 25, 2013 .!Sync files are temporary files created by BitTorrent Sync when receiving incoming data transfers. Once a file is fully received, it is then renamed to have its .!Sync extension removed i.e. "file.mp3" will become "file.mp3.!Sync" on receiving devices until all data for the file is fully received, at which point it will be renamed back to "file.mp3".If your files are remaining with a .!Sync extension, this indicates that the transfer was not successfully complete. This may be due to a number of reasons, which you should investigate rather than renaming these .!Sync files yourself.Possible causes for the persistence of .!Sync files include:1) The network connection was interrupted/dropped whilst transferring the file2) The contents of the source file changed during the transfer process3) The source file became locked by another process during the transferRemoving the .!Sync extension yourself may allow you to access the partial file that's been received, however, if Sync has got stuck (due to one or more of the above reasons), the better option would be to delete these partial .!Sync files in order that Sync can re-transfer the file again. Quote Link to comment Share on other sites More sharing options...
Jbudone Posted August 3, 2013 Author Report Share Posted August 3, 2013 Thanks for the reply GreatMarko I completely forgot about this thread and should have checked back sooner. The problem actually occurs for files which are already on the machine. In my case both machines already had an initial snapshot of all of my songs (carried over from usb with the same folder structure and filenames). But when I turned on bitsync those songs which were already in place were suddenly renamed with the .!sync extension (not all of them, just some), unnecessarily and never renamed back Quote Link to comment Share on other sites More sharing options...
mariusvw Posted August 9, 2013 Report Share Posted August 9, 2013 I have the same issue on my laptop, it usually occurs when the connection fails.Also (maybe seperate issue) I notice when the connection drops and recovers the sync is not restarting at all. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.