| 1 | .***********************************************************************
|
|---|
| 2 | .*
|
|---|
| 3 | .* $Id: comp.ipf 1528 2010-05-29 22:34:16Z gyoung $
|
|---|
| 4 | .*
|
|---|
| 5 | .* Compare directories help
|
|---|
| 6 | .*
|
|---|
| 7 | .* Copyright (c) 1993-98 M. Kimes
|
|---|
| 8 | .* Copyright (c) 2008, 2009 Steven H.Levine
|
|---|
| 9 | .*
|
|---|
| 10 | .* 18 Jan 08 SHL Update hide not selected documentation
|
|---|
| 11 | .* 29 Apr 09 SHL Update view usage
|
|---|
| 12 | .* 27 Sep 09 SHL Document AND'ed selections
|
|---|
| 13 | .*
|
|---|
| 14 | .***********************************************************************
|
|---|
| 15 | .*
|
|---|
| 16 | :h2 res=94900 name=PANEL_COMPARE.Compare Directories
|
|---|
| 17 | :i1 id=aboutCompare.Compare Directories
|
|---|
| 18 | :artwork name='bitmaps\linkdrag.bmp' align=center.
|
|---|
| 19 | :p.
|
|---|
| 20 | The :hp1.Compare Directories:ehp1. dialog shows you a comparison
|
|---|
| 21 | breakdown of two directories. You can select files here and
|
|---|
| 22 | :link reftype=hd res=90100.Collect:elink. them for later processing,
|
|---|
| 23 | or drag them elsewhere.
|
|---|
| 24 | :p.
|
|---|
| 25 | The dialog presents two containers side-by-side. Vertical scrolling of
|
|---|
| 26 | the containers is synced so that scrolling one scrolls both. The files
|
|---|
| 27 | are listed so that they are in alphabetical order, with gaps in the
|
|---|
| 28 | containers where a file exists in one but not the other. This provides
|
|---|
| 29 | easy, at-a-glance comparison of the directories' contents.
|
|---|
| 30 | :p.
|
|---|
| 31 | It is possible to change the directory of a container by direct editing
|
|---|
| 32 | of the container title. You can change both directories simultaneously
|
|---|
| 33 | by clicking the :hp6.Dirs:ehp6. button. You can include all the files
|
|---|
| 34 | in all subdirectories by checking the :hp6.Include subdirs:ehp6. button.
|
|---|
| 35 | :p.
|
|---|
| 36 | This dialog is reached by :hp1.link-dropping:ehp1. (&CtrlKey.
|
|---|
| 37 | + &ShiftKey. held down while dragging and dropping) one directory object onto another
|
|---|
| 38 | directory object, or by selecting :hp1.Utilities->Compare
|
|---|
| 39 | directories:ehp1. from the main window's pulldown menu.
|
|---|
| 40 | :p.
|
|---|
| 41 | You can get a context (popup) menu in the title area of each container.
|
|---|
| 42 | From it you can control which columns are displayed in the containers,
|
|---|
| 43 | and save "snapshots" and, in the right container, reload those snapshots.
|
|---|
| 44 | Snapshot files are compatible with :hp1.PMDirMatch:ehp1. (see below).
|
|---|
| 45 | Snapshots can be used to see what changed in a directory from one point
|
|---|
| 46 | in time to another (for instance, to see what installing a program might
|
|---|
| 47 | have changed in your system directories). You can also
|
|---|
| 48 | :hp1.Filter:ehp1. what shows in the containers.
|
|---|
| 49 | :p.
|
|---|
| 50 | The row of :hp1.Actions&colon.:ehp1. pushbuttons allow you to
|
|---|
| 51 | :hp6.Delete:ehp6. files from either directory and to :hp6.Move:ehp6. or
|
|---|
| 52 | :hp6.Copy:ehp6. files from one directory to another.
|
|---|
| 53 | :p.
|
|---|
| 54 | You can double-click a file to view it, or request a context menu on it to
|
|---|
| 55 | compare it to its counterpart in the other directory.
|
|---|
| 56 | :p.
|
|---|
| 57 | When viewing a file, the standard &ShiftKey. and &CtrlKey. key modifiers described in
|
|---|
| 58 | :link reftype=hd res=100040.Mouse click help:elink. apply.
|
|---|
| 59 | :p.
|
|---|
| 60 | To use an external compare utility, define it on the
|
|---|
| 61 | :link reftype=hd res=98400.Compare Settings:elink.notebook page.
|
|---|
| 62 | :p.
|
|---|
| 63 | Several selection/deselection techniques are available via pushbuttons
|
|---|
| 64 | to enable you to select files based on their comparison. The pushbuttons
|
|---|
| 65 | operate on both containers. You can also select and deselect files in
|
|---|
| 66 | the containers manually with the mouse or keyboard.
|
|---|
| 67 | :hp2.Hint&colon.:ehp2. mouse selection of multiple files works slightly differently
|
|---|
| 68 | when you hold down &CtrlKey. while clicking.
|
|---|
| 69 | :p.
|
|---|
| 70 | :hp2.The selection and deselection buttons are&colon.:ehp2.
|
|---|
| 71 | :p.
|
|---|
| 72 | :hp6.Same size:ehp6. All items which match name and size exactly.
|
|---|
| 73 | :p.
|
|---|
| 74 | :hp6.Size/time:ehp6. All items which match name, size and date exactly.
|
|---|
| 75 | :p.
|
|---|
| 76 | :hp6.Content:ehp6. All items which match name and content exactly.
|
|---|
| 77 | :p.
|
|---|
| 78 | :hp6.Both:ehp6. All items which have matching names in both containers.
|
|---|
| 79 | :p.
|
|---|
| 80 | :hp6.One:ehp6. All items which are present in only one of the
|
|---|
| 81 | containers using only the name as criteria.
|
|---|
| 82 | :p.
|
|---|
| 83 | :hp6.Newer:ehp6. All items which have a counterpart in the other
|
|---|
| 84 | container and are the newer of the pair.
|
|---|
| 85 | :p.
|
|---|
| 86 | :hp6.Older:ehp6. All items which have a counterpart in the other
|
|---|
| 87 | container and are the older of the pair.
|
|---|
| 88 | :p.
|
|---|
| 89 | :hp6.Smaller:ehp6. All items which have a counterpart in the other
|
|---|
| 90 | container and are the smaller of the pair.
|
|---|
| 91 | :p.
|
|---|
| 92 | :hp6.Larger:ehp6. All items which have a counterpart in the other
|
|---|
| 93 | container and are the larger of the pair.
|
|---|
| 94 | :p.
|
|---|
| 95 | :hp6.All:ehp6. All items in both containers.
|
|---|
| 96 | :p.
|
|---|
| 97 | :hp6.Invert:ehp6. Inverts selection state of all items in both containers.
|
|---|
| 98 | :p.
|
|---|
| 99 | By default, the selection buttons combine the new selections with the existing selections.
|
|---|
| 100 | This is an OR selection.
|
|---|
| 101 | Hold down the &CtrlKey. while clicking the selection button to apply the selection criteria
|
|---|
| 102 | only to items that are already selected. This is an AND selection.
|
|---|
| 103 | Selected items that do not match the selection criteria will be deselected.
|
|---|
| 104 | AND selections allow selections such as newer files that are the same size.
|
|---|
| 105 | :p.
|
|---|
| 106 | :hp2.The other buttons in the dialog are&colon.:ehp2.
|
|---|
| 107 | :p.
|
|---|
| 108 | :hp6.Actions:ehp6. Provides directional copy and move along with directory specific delete.
|
|---|
| 109 | :p.
|
|---|
| 110 | :hp6.Filter:ehp6. opens the filter dialog so you can restrict the files viewed to a certain mask (i.e. *.sys).
|
|---|
| 111 | :p.
|
|---|
| 112 | :hp6.Okay and Cancel:ehp6. Both close the dialog.
|
|---|
| 113 | :p.
|
|---|
| 114 | :hp6.Collect:ehp6. Copies the selected files to the collector.
|
|---|
| 115 | :p.
|
|---|
| 116 | :hp6.Dirs:ehp6. Opens the select directories dialog.
|
|---|
| 117 | :p.
|
|---|
| 118 | :hp6.Include subdirectories:ehp6. Includes files from all subdirectories in both directory trees for comparison.(this is a toggle which change the display automatically)
|
|---|
| 119 | :p.
|
|---|
| 120 | :hp6.Hide not selected:ehp6. Includes selected files only on the display.
|
|---|
| 121 | The display is updated immediately when the button is clicked.
|
|---|
| 122 | This is a 3 state checkbox.
|
|---|
| 123 | If one or more files are deselected when the box is checked,
|
|---|
| 124 | the check mark will change to half-tone to indicate that this.
|
|---|
| 125 | Click the checkbox again to update the display.
|
|---|
| 126 | :p.
|
|---|
| 127 | See also :link reftype=hd res=99100.Selection:elink..
|
|---|
| 128 | :p.
|
|---|
| 129 | The general procedure for synchronizing two directories (assuming, of
|
|---|
| 130 | course, that's what you're wanting to do) is to first select all files
|
|---|
| 131 | that have no matching files in the other directory (click the
|
|---|
| 132 | :hp1.One:ehp1. button on the left side of the dialog). Copy these files
|
|---|
| 133 | to the other directory. Now deselect all files (click the
|
|---|
| 134 | :hp1.All:ehp1. button on the right side of the dialog) and select all
|
|---|
| 135 | newer files (click the :hp1.Newer:ehp1. button on the left side of the
|
|---|
| 136 | dialog). Copy these files to the other directory. The directories
|
|---|
| 137 | should now match exactly -- deselect all files and select identical
|
|---|
| 138 | files (click the :hp1.Identical:ehp1. button), and all the files should
|
|---|
| 139 | be selected (to confirm).
|
|---|
| 140 | :p.
|
|---|
| 141 | :hp2.Note&colon.:ehp2. You can use multiple combination of the select/deselect buttons however
|
|---|
| 142 | they will select you all the files as if an "or" operation not as an "and" operation.
|
|---|
| 143 | This means that clicking larger then clicking newer will select all the larger files and then select
|
|---|
| 144 | all the newer files not just the newer files among the already selected files.
|
|---|
| 145 | You can use DeMorgan's rules to get the effect of "and" operation.
|
|---|
| 146 | DeMorgan's rule says A and B is the equivalent to not (not A or not B).
|
|---|
| 147 | :p.
|
|---|
| 148 | If you're looking directory matching features not included in FM/2, you
|
|---|
| 149 | might find them in the programs available on Hobbes
|
|---|
| 150 | http&colon.//hobbes.nmsu.edu/cgi-bin/h-search?key=directory+compare&.pushbutton=Search
|
|---|
| 151 | You can easily setup FM/2 to use one of these programs automatically using the :link
|
|---|
| 152 | reftype=hd res=98400.Compare page:elink. of the internal Settings notebook.
|
|---|
| 153 |
|
|---|
| 154 | :h3 res=91550 name=PANEL_WALKEM2.Select two directories
|
|---|
| 155 | :i1 id=aboutWalkem2.Select two directories
|
|---|
| 156 | :p.
|
|---|
| 157 | This dialog lets you pick two directories by "walking" through the
|
|---|
| 158 | directory structure of your drives. See also :link reftype=hd
|
|---|
| 159 | res=91500.Walk Directories:elink..
|
|---|
| 160 | :p.
|
|---|
| 161 | When the desired directories are displayed in the entry fields of
|
|---|
| 162 | the dialog, click &OkayButton. to exit. Click &CancelButton. to
|
|---|
| 163 | exit without selecting directories.
|
|---|
| 164 |
|
|---|