Comparison by SizeOnly

Discuss new features and functions
Posts: 1
Joined: 17 Nov 2015

avkiev

Now we have 2 mode of comparison: TimeAndSize and Content.
I use FFS for synchronization with FTP (I can't use SFTP).
FTP-server mapped as network drive.
The problem is: FTP-server doesn't support file's timestamps.

So I need 3rd mode: "Comparison by SizeOnly"
or just checkbox "Ignore file's timestamps".

Thanks in advance

PS. What about FTP-support ? I know about SFTP, my question about true FTP
Posts: 2
Joined: 21 Oct 2003

edrandall

That would give useful extra flexibility when timestamps have become all messed up eg. after restore from certain types of backups
Posts: 3
Joined: 1 Jan 2016

cameiro

+1

I really would like to see a 'file-size-only'-option, too!

In particular as 'date+size'-option does not seem to work properly:

Did some v7.7-tests recently and the process failed to sync this file:

Left side: "text.jpg" with size = 140 Kb and date = 2015-12-01
Right side: "text.jpg" with size = 110 Kb and date = 2015-12-01

So as file-size differs, the process should have moved the file while using 'mirror-mode' - but it didn't, so presumably, file-size ist unimportant to this kind of mode.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

+1

I really would like to see a 'file-size-only'-option, too!

In particular as 'date+size'-option does not seem to work properly:

Did some v7.7-tests recently and the process failed to sync this file:

Left side: "text.jpg" with size = 140 Kb and date = 2015-12-01
Right side: "text.jpg" with size = 110 Kb and date = 2015-12-01

So as file-size differs, the process should have moved the file while using 'mirror-mode' - but it didn't, so presumably, file-size ist unimportant to this kind of mode.cameiro
"Same date, different size" is categorized as a "conflict" (see middle grid) and will be assigned the corresponding sync direction. For mirror variant this is "copy from left to right".
Posts: 3
Joined: 1 Jan 2016

cameiro

Thank You for replying, Zenju!

Sometimes it's a matter of priority: There are two options in date&size-mode. What if one of them is superior IMHOs - in my case, it's NOT date of the file, but it's file-SIZE:

Example:

Left side: testmovie.mkv; size 10,5 GB; date 2015-05-10
Right side: testmovie.mkv; size 500 MB; date 2015-12-20

I prefer 'refresh' mode over mirror-mode. So there is a conflict between the two files in the example, because the right file (with low quality!) is newer. Probably it's a 'conflict'-case. But I do have a lot of files on the right side which are newer than the counterpart on the left side. This is because of some batch-metadata-editing... (mostly unimportant.)

So there are quite a lot of conflicts during comparison and first of all, I would like to 'do-nothing' in a conflict situation.

Recently, I found a better quality version of the 'testmovie.mkv' on the internet, and I would like see it to be copied from left to right without causing a 'conflict'.

So, I really would like the idea of having a 'size-only' option like I have in Filezilla.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Thank You for replying, Zenju!

Sometimes it's a matter of priority: There are two options in date&size-mode. What if one of them is superior IMHOs - in my case, it's NOT date of the file, but it's file-SIZE:

Example:

Left side: testmovie.mkv; size 10,5 GB; date 2015-05-10
Right side: testmovie.mkv; size 500 MB; date 2015-12-20

I prefer 'refresh' mode over mirror-mode. So there is a conflict between the two files in the example, because the right file (with low quality!) is newer. Probably it's a 'conflict'-case. But I do have a lot of files on the right side which are newer than the counterpart on the left side. This is because of some batch-metadata-editing... (mostly unimportant.)

So there are quite a lot of conflicts during comparison and first of all, I would like to 'do-nothing' in a conflict situation.

Recently, I found a better quality version of the 'testmovie.mkv' on the internet, and I would like see it to be copied from left to right without causing a 'conflict'.

So, I really would like the idea of having a 'size-only' option like I have in Filezilla.cameiro
Files with different dates is not a conflict. It seems your scenario could be solved by using a custom sync config with rules like "mirror" but with "items existing on right side only" set to "do nothing".
Posts: 1
Joined: 10 Jul 2002

warpenterprises

Me too wanted a "size only" comparison, so I set <FileTimeTolerance Seconds="-1"/> as described in "Expert Settings".
This works as expected, but it is a global setting and not exposed via the GUI.
Is there a reason why?
I read some similar requests and I can't see why a "ignore timestamp" option would be a bad idea.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

A compare by size only fills a small functional gap for scenarios where modification times are not reliable (e.g. MTP). Thinking forward, if FFS is to get FTP support then we'd need a compare by size only, anyway.
Support for comparison by size has been added for the next version. Let me know if you find any issues:
[404, Invalid URL: http://www.mediafire.com/download/qoor0x6n34q2twi/FreeFileSync_7.9_beta_Windows_Setup.exe]
Posts: 3
Joined: 1 Jan 2016

cameiro

Wow, you're amazing, Zenju!

Great work!

Did a quick install and tested some saved jobs with the new file-size-only-option.

Seems to work VERY well!

This really induces to make a donation! Thank YOU!