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

-s (select) ist now working as described #17

Open
orcascc opened this issue Apr 18, 2024 · 0 comments
Open

-s (select) ist now working as described #17

orcascc opened this issue Apr 18, 2024 · 0 comments

Comments

@orcascc
Copy link

orcascc commented Apr 18, 2024

I tested the function with the demo databases on a windows 10 system.
When I use -s "folder 2/." pwsync should sync all entries in "folder 2", but it does not sync anything.
When I use -s "folder 1/.
" ist syncs all enties within the subfolder "folder 1.1", but not the entries in "folder 1".

C:\test>pwsync -f from.kdbx -t to.kdbx --from-master-password=pw --to-master-password=pw -d -a -s "folder 2/.*"
2024-04-18 12:04:41,653 INFO:2024-04-18 10:04.41 [info ] Beginning diff calculation [diffsync.helpers] dst=<PasswordDataset "to.kdbx"> flags=<DiffSyncFlags.NONE: 0> src=<PasswordDataset "from.kdbx">
2024-04-18 12:04:41,657 INFO:2024-04-18 10:04.41 [info ] Diff calculation complete [diffsync.helpers] dst=<PasswordDataset "to.kdbx"> flags=<DiffSyncFlags.NONE: 0> src=<PasswordDataset "from.kdbx">
To conflict: 0
To update: 0
To create: 0
To delete: 0

C:\test>pwsync -f from.kdbx -t to.kdbx --from-master-password=pw --to-master-password=pw -d -a -s "folder 1/.*"
2024-04-18 12:04:50,041 INFO:2024-04-18 10:04.50 [info ] Beginning diff calculation [diffsync.helpers] dst=<PasswordDataset "to.kdbx"> flags=<DiffSyncFlags.NONE: 0> src=<PasswordDataset "from.kdbx">
2024-04-18 12:04:50,045 INFO:2024-04-18 10:04.50 [info ] Diff calculation complete [diffsync.helpers] dst=<PasswordDataset "to.kdbx"> flags=<DiffSyncFlags.NONE: 0> src=<PasswordDataset "from.kdbx">
To conflict: 0
To update: 2
folder 1/folder 1.1
1. Update 3,
update name : name -> Updated name
old note : --start
mutliline
note example
--stop
new note : New start
--start
multiline note example ...
--stop
new stop with new-line
2. Update 4,
update favorite : no-value -> True
update collections : ['Collection 1'] -> ['Collection 2', 'col 3']
To create: 2
folder 1/folder 1.1
1. Create 3,
add name : name
add secret : *******
new note : --start
mutliline
note example
--stop
add url : https://create3.domain.tld
add totp : 123456
add organization : Family
add collections : ['col 1', 'Collection 2', 'COL 3']
add sync : True
2. Create 4,
add name : name
add secret : *******
add note : --start 1-line note ex. --stop
add url : https://create4.domain.tld
add organization : Family
add collections : ['Collection 1']
add sync : ON
To delete: 2
folder 1/folder 1.1
1. Delete 3,
remove name : name
remove secret : *******
old note : --start
mutliline
note example
--stop
remove url : https://delete3.domain.tld
remove totp : 123456
remove favorite : True
remove organization: Family
remove collections : ['col 1', 'Collection 2', 'COL 3']
remove sync : True
2. Delete 4,
remove name : name
remove secret : *******
remove note : --start 1-line note ex. --stop
remove url : https://delete4.domain.tld
remove organization: Family
remove collections : ['Collection 1']
remove sync : ON

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