| 1 | :h2 res=94900 name=PANEL_COMPARE.Compare Directories
|
|---|
| 2 | :i1 id=aboutCompare.Compare Directories
|
|---|
| 3 |
|
|---|
| 4 | :artwork name='\fm3\bitmaps\linkdrag.bmp' align=center.
|
|---|
| 5 | The :hp1.Compare Directories:ehp1. dialog shows you a comparison
|
|---|
| 6 | breakdown of two directories. You can highlight files here and
|
|---|
| 7 | :link reftype=hd res=90100.Collect:elink. them for later processing,
|
|---|
| 8 | or drag them elsewhere.
|
|---|
| 9 | :p.
|
|---|
| 10 | The dialog presents two containers side-by-side. Vertical scrolling of
|
|---|
| 11 | the containers is synched so that scrolling one scrolls both. The files
|
|---|
| 12 | are listed so that they are in alphabetical order, with gaps in the
|
|---|
| 13 | containers where a file exists in one but not the other. This provides
|
|---|
| 14 | easy, at-a-glance comparison of the directories' contents.
|
|---|
| 15 | :p.
|
|---|
| 16 | It is possible to change the directory of a container by direct editing
|
|---|
| 17 | of the container title. You can change both directories simultaneously
|
|---|
| 18 | by clicking the :hp6.Dirs:ehp6. button. You can include all the files
|
|---|
| 19 | in all subdirectories by checking the :hp6.Include subdirs:ehp6. button.
|
|---|
| 20 | :p.
|
|---|
| 21 | This dialog is reached by :hp1.link-dropping:ehp1. (Ctrl + Shift held
|
|---|
| 22 | down while dragging and dropping) one directory object onto another
|
|---|
| 23 | directory object, or by selecting :hp1.Utilities->Compare
|
|---|
| 24 | directories:ehp1. from the main window's pulldown menu.
|
|---|
| 25 | :p.
|
|---|
| 26 | You can get a context (popup) menu in the title area of each container.
|
|---|
| 27 | From it you can control which columns are displayed in the containers,
|
|---|
| 28 | and save "snapshots" and, in the right container, reload those snapshots.
|
|---|
| 29 | Snapshot files are compatible with :hp1.PMDirMatch:ehp1. (see below).
|
|---|
| 30 | Snapshots can be used to see what changed in a directory from one point
|
|---|
| 31 | in time to another (for instance, to see what installing a program might
|
|---|
| 32 | have changed in your system directories). You can also
|
|---|
| 33 | :hp1.Filter:ehp1. what shows in the containers.
|
|---|
| 34 | :p.
|
|---|
| 35 | The line of :hp1.Actions&colon.:ehp1. pushbuttons allow you to
|
|---|
| 36 | :hp6.Delete:ehp6. files from either directory and to :hp6.Move:ehp6. or
|
|---|
| 37 | :hp6.Copy:ehp6. files from one directory to another. You can
|
|---|
| 38 | double-click a file to view it, or request a context menu on it to
|
|---|
| 39 | compare it to its counterpart in the other directory.
|
|---|
| 40 | :p.
|
|---|
| 41 | Several selection/deselection techniques are available via pushbuttons
|
|---|
| 42 | to enable you to select files based on their comparison. The pushbuttons
|
|---|
| 43 | operate on both containers. You can also select and deselect files in
|
|---|
| 44 | the containers manually with the mouse and/or keyboard.
|
|---|
| 45 | :hp2.Hint&colon.:ehp2. mouse selection works slightly differently when
|
|---|
| 46 | you hold down the Ctrl key while clicking.
|
|---|
| 47 | :p.
|
|---|
| 48 | :hp2.Brief description of selection/deselection button options&colon.:ehp2.
|
|---|
| 49 | :p.
|
|---|
| 50 | :hp6.Same:ehp6. All items which match name and size exactly.
|
|---|
| 51 | :p.
|
|---|
| 52 | :hp6.Identical:ehp6. All items which match name, size and date exactly.
|
|---|
| 53 | :p.
|
|---|
| 54 | :hp6.Both:ehp6. All items which are present in both containers (only
|
|---|
| 55 | name used as criteria).
|
|---|
| 56 | :p.
|
|---|
| 57 | :hp6.One:ehp6. All items which are present in only one of the
|
|---|
| 58 | containers (only name used as criteria).
|
|---|
| 59 | :p.
|
|---|
| 60 | :hp6.Newer:ehp6. All items which have a counterpart in the other
|
|---|
| 61 | container and are the newer of the pair.
|
|---|
| 62 | :p.
|
|---|
| 63 | :hp6.Older:ehp6. All items which have a counterpart in the other
|
|---|
| 64 | container and are the older of the pair.
|
|---|
| 65 | :p.
|
|---|
| 66 | :hp6.Smaller:ehp6. All items which have a counterpart in the other
|
|---|
| 67 | container and are the smaller of the pair.
|
|---|
| 68 | :p.
|
|---|
| 69 | :hp6.Larger:ehp6. All items which have a counterpart in the other
|
|---|
| 70 | container and are the larger of the pair.
|
|---|
| 71 | :p.
|
|---|
| 72 | :hp6.All:ehp6. All items in both containers.
|
|---|
| 73 | :p.
|
|---|
| 74 | :hp6.Invert:ehp6. Inverts selection state of all items in both containers.
|
|---|
| 75 | :p.
|
|---|
| 76 | See also :link reftype=hd res=99100.Selection:elink..
|
|---|
| 77 | :p.
|
|---|
| 78 | The general procedure for synchronizing two directories (assuming, of
|
|---|
| 79 | course, that's what you're wanting to do) is to first select all files
|
|---|
| 80 | that have no matching files in the other directory (click the
|
|---|
| 81 | :hp1.One:ehp1. button on the left side of the dialog). Copy these files
|
|---|
| 82 | to the other directory. Now deselect all files (click the
|
|---|
| 83 | :hp1.All:ehp1. button on the right side of the dialog) and select all
|
|---|
| 84 | newer files (click the :hp1.Newer:ehp1. button on the left side of the
|
|---|
| 85 | dialog). Copy these files to the other directory. The directories
|
|---|
| 86 | should now match exactly -- deselect all files and select identical
|
|---|
| 87 | files (click the :hp1.Identical:ehp1. button), and all the files should
|
|---|
| 88 | be selected (to confirm).
|
|---|
| 89 | :p.
|
|---|
| 90 | If you're looking for more powerful directory matching software, you
|
|---|
| 91 | might be interested in Larry Waibel's :hp1.PMDirMatch:ehp1. shareware
|
|---|
| 92 | program. Larry can be contacted on Compuserve at user ID 71333,2463,
|
|---|
| 93 | and he hangs out in the OS2SHARE (library 1 of OS2BVEN) forum. You can
|
|---|
| 94 | easily set FM/2 up to use PMDirMatch automatically using the :link
|
|---|
| 95 | reftype=hd res=98400.Compare page:elink. of the internal Settings
|
|---|
| 96 | notebook.
|
|---|
| 97 |
|
|---|
| 98 | :h3 res=91550 name=PANEL_WALKEM2.Select two directories
|
|---|
| 99 | :i1 id=aboutWalkem2.Select two directories
|
|---|
| 100 |
|
|---|
| 101 | This dialog lets you pick two directories by "walking" through the
|
|---|
| 102 | directory structure of your drives. See also :link reftype=hd
|
|---|
| 103 | res=91500.Walk Directories:elink..
|
|---|
| 104 | :p.
|
|---|
| 105 | When the desired directories are displayed in the entry fields of
|
|---|
| 106 | the dialog, click :hp1.Okay:ehp1. to exit. Click :hp1.Cancel:ehp1. to
|
|---|
| 107 | exit without selecting directories.
|
|---|
| 108 |
|
|---|