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

Last change on this file since 1330 was 929, checked in by Steven Levine, 18 years ago

Compare directories rework.
Change hide not selected to 3 state checkbox.
Honor filters in actions.
Do all total and select count updates on WM_TIMER.

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