hluk / hluk/CopyQ

Changes on synchronization of files

Open
#1,161 0 comments 1 reaction 0 assignees View on GitHub
feature
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

**Is your feature request related to a problem? Please describe.**
Hi. I have created a synchronized folder of &clipboard on Preferences > Items > Synchronize (on a desktop PC). At the same time, that folder is synchronized in real time to a server. On a laptop I did the exact same configuration so both clipboards are synchronize. The files are correctly created and synchronized to that folder (for example copyq_0002.html, copyq_0002.txt, copyq_0002_copyq.dat depending on the case I know not every type of file is necessary.)

Everything works as expected in general, both clipboards are identical. The issue that I have is that I work in the field with the laptop (without internet access) and many entries are created and not synchronize until I have internet access. The problem that I have is that when I come back to office and start working on the desktop before synchronizing the contents on the laptop other entries with the exact same name (copyq_0243.txt for example) are created. When I connect the laptop to the internet again the conflict and confusion (and overwriting) of files names start with various entries with the same name.

**Describe the solution you'd like**
I would like to know if it is possible (maybe with a command) to add a unique ID to each entry (file created in the synchronized folder) for example with a timestamp preserving the original order so when everything is synchronized no conflict occur.

**Describe alternatives you've considered**
I know one solution would be to first synchronize the contents of the laptop before start working with desktop PC but I would prefer to have the liberty of not having to do that. In case the solution above is not possible I think most of the time this alternative is possible except when someone else needs to keep working with the laptop on the field and I need to start working on the desktop.

**Additional context**
None. Thank you very much in advance for the help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.