Skip to content
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

Wrong detected counterpart of file #108

Open
Argimko opened this issue Jul 15, 2023 · 0 comments
Open

Wrong detected counterpart of file #108

Argimko opened this issue Jul 15, 2023 · 0 comments

Comments

@Argimko
Copy link

Argimko commented Jul 15, 2023

Hi Stefan, thank you for fixing #105 - it works well now! :)

I have found another issue, I think.

I have folders:
D:\Desktop\src with test.png.cryptsync file
D:\Desktop\dst is empty

Now I want to mirror files: from -> to with pass, and skip encrypting *.cryptsync. So I run:

"%PROGRAMW6432%\CryptSync\CryptSync.exe" /src:"D:\Desktop\src" /dst:"D:\Desktop\dst" /cpy:"*.cryptsync" /pw:"1" /mirror /logpath:"D:\Desktop\log1.txt" (*)

Please, follow this:

  1. Make sure log1.txt does not exists or empty
  2. Put test.png.cryptsync to src folder. Folder dst is empty
  3. Run cmd as above (*)
  4. You will see that file correctly copied: D:\Desktop\src\test.png.cryptsync -> D:\Desktop\dst\test.png.cryptsync
  5. Keep log1.txt unchanged
  6. Run cmd as above (*) second time
  7. Now you will see the issue: for some reason file D:\Desktop\dst\test.png.cryptsync was removed.

My log file is:

Starting CryptSync
syncing folder orig "D:\Desktop\src" with crypt "D:\Desktop\dst"
settings: encrypt names: no, use 7z: no, use GPG: no, use FAT workaround: no, sync deleted: yes, reset archive attr: no
copy file \\?\D:\Desktop\src\test.png.cryptsync to \\?\D:\Desktop\dst\test.png.cryptsync
finished syncing folder orig "D:\Desktop\src" with crypt "D:\Desktop\dst"
exiting CryptSync

Starting CryptSync
syncing folder orig "D:\Desktop\src" with crypt "D:\Desktop\dst"
settings: encrypt names: no, use 7z: no, use GPG: no, use FAT workaround: no, sync deleted: yes, reset archive attr: no
copy file \\?\D:\Desktop\src\test.png.cryptsync to \\?\D:\Desktop\dst\test.png.cryptsync
counterpart of file test.png does not exist in src folder, delete file
finished syncing folder orig "D:\Desktop\src" with crypt "D:\Desktop\dst"
exiting CryptSync

The issue reproduced with CryptSync v1.4.4.462 and with not released master branch with the last commit 56efb2e.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant