[feature request] Diff view option

Discuss new features and functions
Posts: 7
Joined: 9 Mar 2016

dodfr

Hello,

I just discovered FFS (until now I used the very old FileSync from FileWare), I like it but FFS seems to have no "WinDiff" option to open text files that are different into some WinDiff like tool (could be set in parameters as "Win-Diff_Like_app %source %destination") this could be usefull.

Also there is no option to save the list of files that are different (all of them or only selected ones) into a text file that would permit to batch the "Text Diff" fort multiple files at once.

The "Save file list for Diff" could have some very basic format with 3 columns that would be the same format used to laucnh the Diff app as "Win-Diff_Like_app source destination".

regards.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

A diff tool can be integrated easily into FreeFileSync. With the num-keys used as shortcuts, getting a diff for a file pair in FFS is as easy as pressing a single button such as "3".
Posts: 7
Joined: 9 Mar 2016

dodfr

Hello,

Oh yes this should do the trick :-)

And about "exporting" a list of selected file paths to help producing a batched text Diff result ?

Than you.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

FFS has "menu -> tools -> export file list" and also supports "CTRL + C" to copy the active selection (considering currently visible columns). It might be useful to right-click on the grid column and show the "Full path" column.
Posts: 7
Joined: 9 Mar 2016

dodfr

Hello,

Well this is not what I expected as this is a "pure" CSV extract of what you see on screen so it is not usable "as is" for my need, I will have to make some script to translate this export into something with one line containing root path+subfolder+filename of the source and same for destination.

But this is better that nothing thank you.
Posts: 7
Joined: 9 Mar 2016

dodfr

sorry I missed the "full path" thing ! this way is much better as I can simply do some cut -d";" -f1,5 :-)
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

There is one more way: You can directly stream selected file paths to some output file with an external applicatons command line like:
cmd /c echo %item_path% %item2_path% >> %csidl_Desktop%\output.txt
Posts: 7
Joined: 9 Mar 2016

dodfr

OK all works, CSV export is usable and the "3" shortkey launch the WinDiff.

thank you I can stop using the old FileSync now.
Posts: 7
Joined: 9 Mar 2016

dodfr

for info I upgraded from 7.9 to 8.0 and lost my shorcuts in the context menu customization settings my two lines vanished.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

for info I upgraded from 7.9 to 8.0 and lost my shorcuts in the context menu customization settings my two lines vanished.dodfr
Did you uninstall the old FFS version before updating? If yes, then that's the problem.
Posts: 7
Joined: 9 Mar 2016

dodfr

Did you uninstall the old FFS version before updating? If yes, then that's the problem.Zenju
Nope just installed over it.