source: trunk/dll/ipf/comp.ipf@ 1567

Last change on this file since 1567 was 1528, checked in by Gregg Young, 15 years ago

Updated history for 3.18; minor formatting cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.6 KB
Line 
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.
20The :hp1.Compare Directories:ehp1. dialog shows you a comparison
21breakdown of two directories. You can select files here and
22:link reftype=hd res=90100.Collect:elink. them for later processing,
23or drag them elsewhere.
24:p.
25The dialog presents two containers side-by-side. Vertical scrolling of
26the containers is synced so that scrolling one scrolls both. The files
27are listed so that they are in alphabetical order, with gaps in the
28containers where a file exists in one but not the other. This provides
29easy, at-a-glance comparison of the directories' contents.
30:p.
31It is possible to change the directory of a container by direct editing
32of the container title. You can change both directories simultaneously
33by clicking the :hp6.Dirs:ehp6. button. You can include all the files
34in all subdirectories by checking the :hp6.Include subdirs:ehp6. button.
35:p.
36This dialog is reached by :hp1.link-dropping:ehp1. (&CtrlKey.
37 + &ShiftKey. held down while dragging and dropping) one directory object onto another
38directory object, or by selecting :hp1.Utilities->Compare
39directories:ehp1. from the main window's pulldown menu.
40:p.
41You can get a context (popup) menu in the title area of each container.
42From it you can control which columns are displayed in the containers,
43and save "snapshots" and, in the right container, reload those snapshots.
44Snapshot files are compatible with :hp1.PMDirMatch:ehp1. (see below).
45Snapshots can be used to see what changed in a directory from one point
46in time to another (for instance, to see what installing a program might
47have changed in your system directories). You can also
48:hp1.Filter:ehp1. what shows in the containers.
49:p.
50The 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.
54You can double-click a file to view it, or request a context menu on it to
55compare it to its counterpart in the other directory.
56:p.
57When 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.
60To use an external compare utility, define it on the
61:link reftype=hd res=98400.Compare Settings:elink.notebook page.
62:p.
63Several selection/deselection techniques are available via pushbuttons
64to enable you to select files based on their comparison. The pushbuttons
65operate on both containers. You can also select and deselect files in
66the containers manually with the mouse or keyboard.
67:hp2.Hint&colon.:ehp2. mouse selection of multiple files works slightly differently
68when 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
81containers using only the name as criteria.
82:p.
83:hp6.Newer:ehp6. All items which have a counterpart in the other
84container and are the newer of the pair.
85:p.
86:hp6.Older:ehp6. All items which have a counterpart in the other
87container and are the older of the pair.
88:p.
89:hp6.Smaller:ehp6. All items which have a counterpart in the other
90container and are the smaller of the pair.
91:p.
92:hp6.Larger:ehp6. All items which have a counterpart in the other
93container 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.
99By default, the selection buttons combine the new selections with the existing selections.
100This is an OR selection.
101Hold down the &CtrlKey. while clicking the selection button to apply the selection criteria
102only to items that are already selected. This is an AND selection.
103Selected items that do not match the selection criteria will be deselected.
104AND 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.
121The display is updated immediately when the button is clicked.
122This is a 3 state checkbox.
123If one or more files are deselected when the box is checked,
124the check mark will change to half-tone to indicate that this.
125Click the checkbox again to update the display.
126:p.
127See also :link reftype=hd res=99100.Selection:elink..
128:p.
129The general procedure for synchronizing two directories (assuming, of
130course, that's what you're wanting to do) is to first select all files
131that 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
133to the other directory. Now deselect all files (click the
134:hp1.All:ehp1. button on the right side of the dialog) and select all
135newer files (click the :hp1.Newer:ehp1. button on the left side of the
136dialog). Copy these files to the other directory. The directories
137should now match exactly -- deselect all files and select identical
138files (click the :hp1.Identical:ehp1. button), and all the files should
139be selected (to confirm).
140:p.
141:hp2.Note&colon.:ehp2. You can use multiple combination of the select/deselect buttons however
142they will select you all the files as if an "or" operation not as an "and" operation.
143This means that clicking larger then clicking newer will select all the larger files and then select
144all the newer files not just the newer files among the already selected files.
145You can use DeMorgan's rules to get the effect of "and" operation.
146DeMorgan's rule says A and B is the equivalent to not (not A or not B).
147:p.
148If you're looking directory matching features not included in FM/2, you
149might find them in the programs available on Hobbes
150http&colon.//hobbes.nmsu.edu/cgi-bin/h-search?key=directory+compare&amp.pushbutton=Search
151You can easily setup FM/2 to use one of these programs automatically using the :link
152reftype=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.
157This dialog lets you pick two directories by "walking" through the
158directory structure of your drives. See also :link reftype=hd
159res=91500.Walk Directories:elink..
160:p.
161When the desired directories are displayed in the entry fields of
162the dialog, click &OkayButton. to exit. Click &CancelButton. to
163exit without selecting directories.
164
Note: See TracBrowser for help on using the repository browser.