2
David.P
I have now tested the topic again as described above with
Total Commander.
tuska wrote: ↑Sun Jan 14, 2024 5:25 pm
In this case, the following solution could be considered:
TRACKING AND TRACING and MERGE by Hand(!).
1. Compare
your separate databases (only "Drive D:") via .LST files - Compare in "Synchronize directories" to show the differences
2. Compare
databases of SharePoint (only "Drive I:") via .LST files - Compare in "Synchronize directories" to show the differences
3.
Compare the differences ("handful of files/folders") between your database and the SharePoint database
MANUALLY against each other
(WITHOUT Compare in "Synchronize directories").
If it is only a handful of files, I see this as a viable option.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
OneDrive
To make it easier to understand the test procedure and examples, I have uploaded all the files (ZIP, LST, EFU, PNG) to
OneDrive.
Only .LST files are required to solve the issue (see points 1.-3. above).
Download all files to any folder on your PC, e.g. C:\Synchronize_OwnFiles_SharePoint\.
The folder should NOT be a test path! ...
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Test paths in Total Commander:
Left: D:\totalcmd\Test\ ("My own files")
2024-02-16_12.29.07_COMPARISON BASE-1_(initial basis)_Own-files_(left).
zip
2024-02-16_16.47.40_COMPARISON BASE-2_Own-files_(left).
zip
Right: I:\totalcmd\Test\ ("SharePoint")
2024-02-16_12.52.09_COMPARISON BASE-1_(initial basis)_SharePoint_(right).
zip
2024-02-16_16.47.46_COMPARISON BASE-2_SharePoint_(right).
zip
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Mandatory: DiskDir Extended (.wcx - Packer Plugin) for Total Commander
Install the
"DiskDir Extended (.wcx - Packer Plugin)" and pay attention to the information(!).
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Mandatory: BUTTON "Synchronize dirs" in Total Commander (copy/paste CODE)
It is highly recommended to set up this button in Total Commander (TC), as it allows the test paths to be called up at any time
in a SEPARATE WINDOW -AND- the SAVED options are used, regardless of which options were used before.
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_EXE%
/S=S:=Own-files_(left)__SharePoint_(right)
wcmicons.dll,48
"Synchronize dirs"- SavedSettingsName: Own-files_(left)__SharePoint_(right)|D:\totalcmd\Test\ (left) <=> I:\totalcmd\Test\ (right) ...|+ OPTIONS, e.g. Asymmetric, Equal files, Unequal files: UNTICKED!|The COMPARISON starts IMMEDIATELY in a SEPARATE(!) window!
0
-1
Create a Button in the Buttonbar (copy/paste CODE)
- Click on "SELECT ALL" (to the right of CODE:), then press CTRL+C (copy to clipboard).
- Right-click on any place in the button bar, then click on "Paste".
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
- Option1: Point to the new button (slightly longer): 'Tooltip' is shown (-> description to the button).
A maximum of 259 characters is allowed for the tooltip. | = create line break, || = create | as separator character.
- Option2: Button bar - "Tooltip" field: A single space deactivates the display of the tooltip.
If the "Tooltip" field is empty, the content of the "Command" field is displayed.
- Option3: See FAQs and explanation: Button-code (TOTALCMD#BAR#DATA) <-- <Ctrl+click on the link...>
SavedSettingsName: Own-files_(left)__SharePoint_(right)
Use an editor to add the following text to the "
wincmd.ini" file in the
[SyncOptions] section:
(The [SyncOptions] section may only exist once! If it does not exist, it must be added).
Code: Select all
Own-files_(left)__SharePoint_(right)_L=D:\totalcmd\Test\
Own-files_(left)__SharePoint_(right)_R=I:\totalcmd\Test\
Own-files_(left)__SharePoint_(right)_Wcs=*.*
Own-files_(left)__SharePoint_(right)_Flags=17|57|6
Note ONLY:
This code is generated when you call a button with command: cm_FileSync or menu "Commands" > Synchronize Dirs... and then
click on the button with the folder symbol+star at the top left: "Open list of saved sync directories+options (F2)"
and then make your settings and save them.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Option (recommended!): Directory hotlist Ctrl+D
Directory hotlist Ctrl+D (* asterisk next to the path above the column headings)
If you have unpacked the ZIP files and changed to the corresponding directory in Total Commander on the left and right,
then it is advisable to ADD THE TWO DIRECTORIES to the "Directory hotlist Ctrl+D":
- Ctrl+D
- ± Add current dir
- ☑ Also save the target dir
- OK
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Mandatory: BUTTON with command: em_Synchronize_CURRENT_DIRECTORIES_in_a_separate window | Shortcut: ALT+S
This button is required for the comparison of .LST files.
ATTENTION: With this button, you must
pay attention to which OPTIONS are set in "Synchronise directories"!
If necessary, set the desired options and then restart the process with ALT+S.
Code: Select all
TOTALCMD#BAR#DATA
em_Synchronize_CURRENT_DIRECTORIES_in_a_separate window
wcmicons.dll,48
Synchronize CURRENT directories/sep. task! (ALT+S)|Comparison starts IMMEDIATELY!|"Synchronize directories" window:|- LEFT: F3, RIGHT: Shift+F3 displays file(s) in the Lister...|- Multiple selection possible!|https://ghisler.ch/board/viewtopic.php?f=2&t=75185
-1
Add the following to the "
usercmd.ini" file (if this file does not yet exist, create it with a text editor):
Code: Select all
[em_Synchronize_CURRENT_DIRECTORIES_in_a_separate_window]
button=TOTALCMD.EXE,32
cmd=%COMMANDER_EXE%
param=/S=S:= "%X%Z%P" "%T"
menu=Synchronize CURRENT directories/sep. task! (ALT+S)|Comparison starts IMMEDIATELY!|"Synchronize directories" window:|- LEFT: F3, RIGHT: Shift+F3 displays file(s) in the Lister...|- Multiple selection possible!|https://ghisler.ch/board/viewtopic.php?f=2&t=75185
Add the following to the "
wincmd.ini" file in section
[Shortcuts] - ATTENTION: The [Shortcuts] section may only exist once!
Code: Select all
A+S=Synchronize_CURRENT_DIRECTORIES_in_a_separate_window
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Option (recommended!): BUTTON Configure ignore list
Files/directories in this list are NOT taken into account during synchronisation(!).
This means, for example, that entire directory trees can be excluded from synchronisation.
Examples: G:\Backup\, G:\System Volume Information\, G:\WindowsImageBackup, etc.
Code: Select all
TOTALCMD#BAR#DATA
cm_IgnoreConfig
WCMICONS.dll,73
Configure ignore list ... cm_IgnoreConfig|Add marked files/directories to list or remove from list|Mark file or folder, then press this button ...|Option: Show/hide HIDDEN files ($RECYCLE.BIN): cm_SwitchHid ON/OFF
0
480
If you temporarily
comment out entries in the ignore list, these entries will be taken into account during synchronisation!
Examples: ...
\tcignore.txt
;D:\totalcmd\Test
;I:\totalcmd\Test
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Option (recommended!): BUTTON Switch ignore list on/off
If this button does NOT have the status "pressed", then the files/folders
saved in the ignore list are taken into account during synchronisation!
Code: Select all
TOTALCMD#BAR#DATA
cm_SwitchIgnoreList
WCMICONS.dll,73
Switch ignore list ON/OFF ... cm_SwitchIgnoreList ...|Configuration -> Options... -> Ignore list |Button pressed = HIDDEN (folders, files) |Option: BEFORE: Show/hide HIDDEN files ($RECYCLE.BIN): cm_SwitchHid ON/OFF
0
2922
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Comparison of files with Total Commander and/or WinMerge
The image shows a comparison of files with Total Commander and WinMerge:
2024-02-10_15.10.22_Encoding ANSI_to UTF-16 LE BOM_file size gets bigger.png
![2024-02-10_15.10.22_Encoding ANSI_to UTF-16 LE BOM_file size gets bigger.png](./download/file.php?id=3886&sid=cf65319380b49dddcadb82d1a0bea338)
- 2024-02-10_15.10.22_Encoding ANSI_to UTF-16 LE BOM_file size gets bigger.png (174.21 KiB) Viewed 18307 times
If a file comparison with WinMerge is to be carried out in Total Commander, the following must be entered in the "
wincmd.ini" file
in the
[Configuration] section, for example, the following must be specified:
Code: Select all
CompareTool=%COMMANDER_PATH%\Tools\WinMergePortableZip\WinMergeU.exe
(%COMMANDER_PATH% = the location in which the file "TOTALCMD64.EXE" and/or "TOTALCMD.EXE" is located).
In this case, a comparison by file content with Total Commander is still possible with this command:
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
The test cases and results will follow in the next post...