Sugestions: Directory compare and synchronize

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-07-30, 07:59 UTC

Unfortunately there is a bug in Android which prevents programs from copying the file timestamp. Therefore a sync function would never work because the files would never get the same timestamp.
Author of Total Commander
http://www.ghisler.com

Aurelien
Junior Member
Junior Member
Posts: 34
Joined: 2003-10-06, 08:28 UTC

Post by *Aurelien » 2015-07-30, 11:46 UTC

Ok, i understand.

Nevertheless, a simple sync tool (file exists or not) would be great, with directory recursion.

It would solve my problem at a 99% rate :wink:

Aurelien
Junior Member
Junior Member
Posts: 34
Joined: 2003-10-06, 08:28 UTC

Post by *Aurelien » 2015-07-30, 11:48 UTC

Aurelien wrote:Ok, i understand.

Nevertheless, a simple sync tool (file exists or not) would be great, with directory recursion.

It would solve my problem at a 99% rate :wink:
On my Acer Liquid E2, i have a drive letter and can use TotalCommander directly under Windows (android 4.2, and with nearly no Acer additions except added applications).

But on the Nexus 9 (android 5.1.1, and Google device), the mass storage connection way doesn't exist anymore (only MTP OR PTP), so directory sync is not easy at all, as i have too many files and too many directories (and subdirectories) to manage by hand.

Roni72
Junior Member
Junior Member
Posts: 4
Joined: 2015-08-13, 13:42 UTC

Post by *Roni72 » 2015-08-13, 14:13 UTC

Dear Christian,

I agree with Aurelien: I also suffer about the kitkat's lack of mass storage mode, the timestamp bug, and the weaknesses of MTP. Now I use TC LAN plugin, because it's far the best solution now for synchronizing via WiFi.

A few months ago I bought a Samsung S4 mini phone, but I not satisfied with it at all. It's funny (or sad), but I must bought a second phone, an old Samsung Ace, to use it as a "pocket office", because the UMS mode and the directory synch yet works on it as well.

If You can, please upgrade the TC android version with a simplified synch function. I think it would be a big advance such a new function, which can mirroring a "master" directory located on the LAN, to the phone - because the phone is much rather for "viewing" than "editing" files, many of users will be happy with this feature.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-08-16, 06:48 UTC

Currently this is only possible when you root your phone - with root rights, it's possible to actually copy the timestamp. Then you can use the normal copy function (where you choose to overwrite only older files) in both directions to synchronize. You cannot do this without root because the files on the source and target side will never get the same timestamps.
Author of Total Commander
http://www.ghisler.com

Roni72
Junior Member
Junior Member
Posts: 4
Joined: 2015-08-13, 13:42 UTC

Post by *Roni72 » 2015-08-16, 09:22 UTC

Oh, yes: thanks for "lackogyerek" now I using a rooted and deodexed custom ROM, and (of course) the new phone became warranty void :-I Unfortunately there is no other way to make a relative good working tool from a toy developed for the stupids. (((But I think this works in a reverse way: the gigant developers purposely pull the users to the stupidity.)))

I think no less, than TC is a really "jailbreaker" application: who not using it under Windows, that have no chance to understand the logic of computing.

So the responsibility is Yours ;-)

peterb
Junior Member
Junior Member
Posts: 58
Joined: 2004-01-15, 13:49 UTC

Post by *peterb » 2015-08-16, 15:34 UTC

Try DiffTool:
https://play.google.com/store/apps/details?id=com.difftool

It can not overcome the Android issue mentioned by Ghisler, but at least may be a solution for you.

Roni72
Junior Member
Junior Member
Posts: 4
Joined: 2015-08-13, 13:42 UTC

Post by *Roni72 » 2015-08-16, 17:29 UTC

Thanks, but this app can't access to a folder located on the LAN :-/
It's only a TC's feature.

Aurelien
Junior Member
Junior Member
Posts: 34
Joined: 2003-10-06, 08:28 UTC

Post by *Aurelien » 2015-08-24, 18:52 UTC

Christian, it would be great even with no timestamp check (i don't know : is root still required to achieve this ?)

The only thing i need is directories comparisons by filenames, like having "ignore date" and "subdirectories" checked in TC for windows.

The six "display" buttons would be useful too.

I don't want to root my tablet : if i do so, i won't be able to get OTA updates, as Google checks the tablet system content (as root adds SuperUser app, or equivalent).

Androiduser
Junior Member
Junior Member
Posts: 5
Joined: 2015-09-09, 22:54 UTC

Post by *Androiduser » 2015-09-10, 15:26 UTC

Scoulder wrote:For synchronization purposes there already are other apps but there's no usable app that allows a decent file compare. So that would be a nice plus for TC Android.

+1 for a file compare feature
+2

Roni72
Junior Member
Junior Member
Posts: 4
Joined: 2015-08-13, 13:42 UTC

Post by *Roni72 » 2015-11-07, 11:05 UTC

Hi Christian,

my colleague bought a "noname" chinese phone, called "uleFone Be Touch 2".
It's scandalous that while the Samsung S4 mini and all(!) newer Samsung
phones (and I think other "big" names such LG, HTC, Sony etc. too) are not
supports UMS and writing to the external SD, this lousy chinese phone can
_everything_ without any root - and under Lollipop.

I think the mass phone manufacturers more and more going to the way
that set by the Apple: against the user's creativity, and pay again and again
for everything.

Because this anomaly, I think, that is a wrong way when the development
strategy starts from the "big" names weaknesses, instead of real needs by
common sense.

Please think all again about a synchronising, at least a "smart mirroring"
capability of the TC's Android version: it's really a necessary feature for
the serious users.

alphonse68
Junior Member
Junior Member
Posts: 83
Joined: 2011-09-26, 13:53 UTC

Directory Compare (without synchronize)

Post by *alphonse68 » 2015-12-17, 05:48 UTC

Hi Christian,

Way back when this thread was started, the question was if directory compare and sync could be added to TC, but the topic took the path of synchronizing and Directory Compare seems to have been forgotten.

Today I would like to ask if a simple, non-sync'ing directory compare could be implemented. Even if it does not take into account dates or sizes, it would serve the purpose of knowing which files with the same name exist in both directories. If those were selected, one could copy them with auto-rename & later compare their date and size, both being in the same pane, one beneath the other. Even if the compare function selected the files that are not on the opposite directory, one could use the Invert Selection function, so that would be cool too. Selecting unique files would help the OP find which files were deleted from his origin dir and "manually" delete them, pre-selected from his target dir. Bottom line is that even manual sync'ing isn't possible (OK, feasible) without a dir compare function.

On cells and small tablets it's so hard to visually compare side-by-side dirs because the two windows are not at 50% & their ratios change when one or the other is selected... and sliding back and forth to compare... :shock:

You said that dir comp was possible... Please consider it for the next version.

Thank you, also, so very much for all your work on both TC for Windows and Android; without them, file handling would be torturous.

Cheers

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-12-17, 09:15 UTC

The reasons why I didn't add it were:
1. The Android bug which prevents programs from copying the file timestamps, making a comparison by date pointless.

2. The limited screen size, making a side by side comparison unfeasible.
Author of Total Commander
http://www.ghisler.com

alphonse68
Junior Member
Junior Member
Posts: 83
Joined: 2011-09-26, 13:53 UTC

Post by *alphonse68 » 2015-12-20, 01:43 UTC

I do understand those reasons, and please forgive me for insisting one last time.

My point on which I base my request is that if I have two directories with long lists of files, not having a single even if partial way of comparing those lists, we are at a 100% loss.

However, if there were a way that I could compare them and at least know which files exist by name only on both sides, or which files are unique on each side, that would set me forth quite a bit.

As I stated before, I am willing to copy and have a "(2)" added to the end of the copied or target file names, as in the Windows version of TC, and then visually compare the "duplicate" file names all in one pane.

The date issue is actually not that critical. Consider this:
If one is using the target directory as back-up, any new or modified file since the last back-up date would have a newer date than any file in the target.

The date issue would be critical if files got modified on both sides.

But a filename only comparison would be Very Useful.

Again, and I understand that it might not be useful for everybody, this feature could be at least partially useful for those of us who really need to compare directories... even if we have to do half of the work by hand... it would be better than nothing.

Please? Without an at least name-only directory compare, it takes me about three times as much time to do long lists. And I am sure I will not be the only person who will profit from it.

Cheers... and MERRY CHRISTMAS and HAPPY NEW YEAR to all, in case I have no need to post before then.

Aurelien
Junior Member
Junior Member
Posts: 34
Joined: 2003-10-06, 08:28 UTC

Post by *Aurelien » 2016-01-14, 20:49 UTC


Post Reply