Delete (left single)

26 views
Skip to first unread message

vollkornk...@posteo.de

unread,
Aug 31, 2018, 9:24:12 AM8/31/18
to krusader-users
Hi all,

I just wanted to ask a question where I wasn't able to find an answer to
in the internet.

Why is the "Synchronize Folder" tool only able to "Delete (left
single)"? What's the motivation behind such a limitation?

I often synchronize project folders where I'm working on partly at home
and partly at the office. Local folders I use in the left pane, external
folders right. So I often have cases where I want to delete files left
AND right. I can't come up with an idea why deletion should be limited.
It would be nice if anyone could cast a light on this issue – or better
yet, improve Krusaders functionality on this matter.   :)

Thanks,
Micha

--


https://vollkornkartoffeln.de


A. Bikadorov

unread,
Aug 31, 2018, 5:24:09 PM8/31/18
to krusade...@googlegroups.com
Hi,

at first thought I can't come up with a valid use case for deleting files on both sides
-source and destination- at the same time.
The problem in short: How can an algorithm know it should delete a file instead of copying
it to the other side?

Please give an example.

Cheers
Alex

vollkornk...@posteo.de

unread,
Sep 1, 2018, 4:07:09 AM9/1/18
to krusade...@googlegroups.com
Hi,

ok, use cases. I brought with me a project folder from work and want to
sync it with the local folder. Maybe I moved some files, some I deleted,
many are changed. So I have to delete files on the left. Maybe there are
some temp files that I brought with me, that I can safely delete on the
right side OR left side. Now I'm working at home and in the evening, I
want to sync the local folder with the project folder on my external.
Again, there are sure temp files for deletion left, and changed files on
the right, plus old file versions on the right, which I want to delete.

I don't need an algorithm to decide what to delete. Additionally, it's
seldom to delete source and destination at the same time. But when
syncing a project folder why am I not allowed to delete files on the
right, because left is the actual version? I just want to tell it
„delete left“, „delete right“ or „delete both sides“.

If you always put the newer version right and the older version left,
and definitely only want to mirror right to left, all is well. But I
keep local tabs left and external tabs right, so the mirroring direction
changes.

Hopefully, this makes my intention clearer. It's just not necessary to
limit deletion functionality.

Cheers,
Micha.


https://vollkornkartoffeln.de

ThomasMcA

unread,
Sep 2, 2018, 9:46:57 AM9/2/18
to krusader-users
The "algorithm" could be a database that stores the last known files from
both sides.

For example, after syncing for the first time, the files look like this:

Left Side        Right Side
FileA               FileA
FileB               FileB
FileC              FileC

FileA gets deleted on the left, FileB gets deleted on the right, and FileC
gets changed on the left.

After another sync, the files look like this:

Left Side        Right Side
(the sync process deletes FileA from the right side)
(the sync process deletes FileB from the left side)
The changed FileC gets copied/synced from the left to the right

BTW, I would like this type of intelligent syncing as well. I would use it
for a Downloads folder that I also store on a flash drive. When I'm working
on another computer, I use my flash drive as a toolbox, instead of having
to re-download often-used tools. If I add another tool to the toolbox (or
delete an old version of a tool), I want to be able to sync it to my
laptop. Most of the time, however, I sync from my laptop to the flash
drive. But I would like to be able to sync both ways.

Tom
Reply all
Reply to author
Forward
0 new messages