|
1 | 1 | # Comparison Method |
2 | 2 |
|
3 | 3 | It is possible to choose which method to use to compare two folders. |
4 | | -The method to use is strictly related to user needs, comparing source code (files large only few kilobytes) should use a content comparison but to find which movies (files larger than a gigabytes) are not present on right side is faster compare by file size or file timestamp. |
5 | | - |
| 4 | +The method to use is strictly related to user needs, comparing source code (files large only few kilobytes) should use a content comparison but to find which movies (files larger than a gigabytes) are not present on right side is faster compare by file size or file timestamp. |
6 | 5 | Every file is treated as binary and it is compared byte by byte, only 'Compare file content ignoring line ending differences' compares text. |
7 | 6 |
|
8 | 7 | The complete list of supported comparison methods |
9 | 8 |
|
10 | | -<table class="bordered"> |
11 | | -<tr> |
12 | | -<th>Method</th> |
13 | | -<th>Description</th> |
14 | | -</tr> |
15 | | -<tr> |
16 | | -<td>Compare file sizes |
17 | | -<br/>Very quick</td> |
18 | | -<td>Two file are identical if they have the same file size</td> |
19 | | -</tr> |
20 | | -<tr> |
21 | | -<td>Compare file timestamps |
22 | | -<br/>Very quick</td> |
23 | | -<td>Two file are identical if they have the same timestamp. |
24 | | -<br/>It is used the Unix <strong>last modified date</strong> for comparison. |
25 | | -<br/>If file A timestamp is less than file B it is marked as <strong>older</strong> and it will be shown with different color. |
26 | | -<br/>It is possible to set a span in seconds to consider two files with same timestamp, see below</td> |
27 | | -</tr> |
28 | | -<tr> |
29 | | -<td>Compare file timestamps and sizes |
30 | | -<br/>Very quick</td> |
31 | | -<td>Compare the files timestamp, only if it is different then compare the size.</td> |
32 | | -</tr> |
33 | | -<tr> |
34 | | -<td>Compare file content only |
35 | | -<br/>Slow on large files</td> |
36 | | -<td>Compare files as binary, byte by byte</td> |
37 | | -</tr> |
38 | | -<tr> |
39 | | -<td>Compare file timestamp, size and content |
40 | | -<br/>Slow on large files</td> |
41 | | -<td>Compare the file content, only if content is different compare the timestamp and only if timestamp differs compare size</td> |
42 | | -</tr> |
43 | | -<tr> |
44 | | -<td>Compare file content ignoring line ending differences |
45 | | -<br/>Slow on large files</td> |
46 | | -<td>Compare file as plain text, read line by line and compare lines. |
47 | | -<br/>The line ending character is ignored so a DOS file (with lines separated by CR+LF) matches an Unix file (with lines separated by LF) if, ignoring the newlines, the content is identical</td> |
48 | | -</tr> |
49 | | -</table> |
| 9 | +<div class="table-wrapper"> |
| 10 | + <table class="alt"> |
| 11 | + <thead> |
| 12 | + <tr> |
| 13 | + <th>Method</th> |
| 14 | + <th>Description</th> |
| 15 | + </tr> |
| 16 | + </thead> |
| 17 | + <tbody> |
| 18 | + <tr> |
| 19 | + <td>Compare file sizes<br/>Very quick</td> |
| 20 | + <td>Two file are identical if they have the same file size</td> |
| 21 | + </tr> |
| 22 | + <tr> |
| 23 | + <td>Compare file timestamps<br/>Very quick</td> |
| 24 | + <td>Two file are identical if they have the same timestamp. |
| 25 | + <br/>It is used the Unix <strong>last modified date</strong> for comparison. |
| 26 | + <br/>If file A timestamp is less than file B it is marked as <strong>older</strong> and it will be shown with different color. |
| 27 | + <br/>It is possible to set a span in seconds to consider two files with same timestamp, see below</td> |
| 28 | + </tr> |
| 29 | + <tr> |
| 30 | + <td>Compare file timestamps and sizes<br/>Very quick</td> |
| 31 | + <td>Compare the files timestamp, only if it is different then compare the size.</td> |
| 32 | + </tr> |
| 33 | + <tr> |
| 34 | + <td>Compare file content only<br/>Slow on large files</td> |
| 35 | + <td>Compare files as binary, byte by byte</td> |
| 36 | + </tr> |
| 37 | + <tr> |
| 38 | + <td>Compare file timestamp, size and content<br/>Slow on large files</td> |
| 39 | + <td>Compare the file content, only if content is different compare the timestamp and only if timestamp differs compare size</td> |
| 40 | + </tr> |
| 41 | + <tr> |
| 42 | + <td>Compare file content ignoring line ending differences<br/>Slow on large files</td> |
| 43 | + <td>Compare file as plain text, read line by line and compare lines.<br/>The line ending character is ignored so a DOS file (with lines separated by CR+LF) matches an Unix file (with lines separated by LF) if, ignoring the newlines, the content is identical</td> |
| 44 | + </tr> |
| 45 | + </tbody> |
| 46 | + </table> |
| 47 | +</div> |
0 commit comments