Page 1 of 1
Synchronize Dirs Export to ListBox (or Clipboard)
Posted: 2010-05-08, 19:37 UTC
by Balderstrom
Recently I have found a need for a way to export the results of an SyncTool compare...
I believe,
- Export Left to Listbox
- Export Right to Listbox
- Export Both to Listbox
Would be quite useful, from there the listing of files could be packed into a .LST or copied to the clipboard (cm_CopyFullNamesToClip).
Default settings:
Export L to Listbox -- open a new Tab in the left panel for the list.
Export R to Listbox -- open a new Tab in the right panel for the list.
The Export Both, is a little superfluous -- but would just do both the Left & Right.
Unless this is already possible, but I couldn't find it anywhere or how...
[Edit]Sync Tool, DOH!

[/Edit]
Posted: 2010-05-08, 21:02 UTC
by MVV
MRT or Sync tool?
MRT doesn't use two panels and just renames selected files, there is no need to export something from MRT back to panel.
Posted: 2010-05-09, 02:54 UTC
by ado
yup, I like that idea... in fact I needed it too a few times, except I never posted it here

If you want to just get list of files vial lst plug-in I'd say you can do it even now (I did it a few times with zip).
Let's say you compare dirs c:\temp\1\a vs c:\temp\1\b
Once you have differences, click Synchronize button and change the suggested path like this:
c:\temp\1\b --> zip:c:\temp\1\aNew.zip ....and TC will happily zip left (or right) side of diff to file aNew.zip. I guess with lst it will work in the same way.
ado
Posted: 2010-05-09, 16:41 UTC
by sqa_wizard
2
Balderstrom: to have the list of both sides copied to clipboard, just
mark entries of interest (Ctrl-A for all) and press
Ctrl-C 
Posted: 2010-05-09, 17:38 UTC
by Balderstrom
That's cool, but not very useful, I get this:
<- 09/27/07 14:28:14 216064 BarEditor.exe
<- 09/13/07 17:15:20 11628 BarEditor.icl
<- 09/19/09 18:45:54 797 BarEditor.ini
<- 09/26/07 19:31:16 818 BarEditor.ini.sample
<- 09/27/07 13:46:30 2424 English.lng
<- 09/27/07 14:36:06 3044 history.txt
<- 09/27/07 14:35:50 3302 history_rus.txt
<- 09/27/07 13:50:04 2481 Russian.lng
Which can't be used for anything in TC, ie a ListBox, or .LST pack. The only way to make it useful at all would be to process it with a script to strip down to just the filenames -- which again wont be of much use as you'll be missing the Full Path to the files.
Posted: 2011-08-24, 07:58 UTC
by sgp
ado's method is great. In fact, it works even when the suggested path is changed to the Virtual Panel plugin \\\Virtual Panel\
Once you have the whole directory structure neatly exported to the VP you can do anything you want with the files and folders.
Posted: 2012-11-16, 19:17 UTC
by Balderstrom
I would like to reiterate this request.
If not an export to Listbox, then at
least:
SynchronizeDirs, Sync Tool, Sync Dirs
wrote:1) Export Selected Left side to Clipboard (Full Paths)
2) Export Selected Right side to Clipboard (Full Paths)
If feasible, then also this:
1) Export Selected Left side (Filenames only)
2) Export Selected Right side (Filenames only)
There are a number of other similiar requests for this functionality, and it would really be appreciated - and quite possibly fairly easy to implement.
Posted: 2012-11-20, 16:07 UTC
by sgp
Balderstrom wrote:I would like to reiterate this request.
If not an export to Listbox, then at
least:
SynchronizeDirs, Sync Tool, Sync Dirs
wrote:1) Export Selected Left side to Clipboard (Full Paths)
2) Export Selected Right side to Clipboard (Full Paths)
If feasible, then also this:
1) Export Selected Left side (Filenames only)
2) Export Selected Right side (Filenames only)
+1
Meanwhile Balderstrom, if you use AHK with TC you can try the script I wrote. It extracts synctool sides into separate lists. The package includes a demo application - as a CMD script - that checksums each file; you could probably hack it for your own needs.
http://ghisler.ch/board/viewtopic.php?t=33561
[pre-release] TC_SyncWorks - cm_FileSync add-on
Posted: 2012-11-20, 16:30 UTC
by Balderstrom
Looks interesting, thanks. Maybe get some time over thanksgiving to hack-at-it a bit. Wish I commented my code that vigorously
