📄 dmformat
字号:
DM (for Data Management) files are very similar to EDB files. The EDBformat is seen as a useful format and many pople will have invested effortin transforming their source data into this format. It is hoped thatexisting tools will only require slight modification to produce this format.The advantage that DM files have over EDB files is that the syntax allowsthe specification of entry/atribute deletion. Comparing the previousversion of the DM file with the current version, by using dmdiff, allowschanges in the source data to be represented in this syntax. Other toolscan then process this data into a set of directory operations, and changesto the directory can be made using DAP, rather than by altering EDB files andrestarting the DSA.The differences between the formats are as follows: EDB DMOrg units within organisation Flat file with imbedded info represented in UNIX directory saying where entries should be loaded tree structure in the DITFiles start with File don't start with ... MASTERdate in UTC format File contains "rootedAt" info Syntax includes mechanism for specifying deletion of an entry / attributedmdiff <old_file> <new_file>produces a difference version of the 2 DM files.Example of a DM file produced by dmdiff----------------------------rootedAt=c=gb@o=University College London@ou=Association of University Teachers Local Office# ATTRIB CHANGES FOR THIS ENTRYcn= A.U.T. OFFICEtelephoneNumber = +44 71-380-7230!telephoneNumber = +44 1-380-7230# ATTRIB CHANGES FOR THIS ENTRYcn= R JonestelephoneNumber= +44 71-380-7230 !telephoneNumber= +44 1-380-7230 rootedAt=c=gb@o=University College London@ou=American Institute for Foreign Studies# ATTRIB CHANGES FOR THIS ENTRYcn= AMERICAN INSTITUTE FOR FStelephoneNumber = +44 71-387-7050 x 2945!telephoneNumber = +44 1-387-7050 x 2945rootedAt=c=gb@o=University College London@ou=Anatomy and Developmental Biology# ATTRIB CHANGES FOR THIS ENTRYcn= J AberdeentelephoneNumber= +44 71-387-7050 x 3341 (Lab)telephoneNumber= +44 71-387-7050 x 3329 (Office)!telephoneNumber= +44 1-387-7050 x 3341 (Lab)!telephoneNumber= +44 1-387-7050 x 3329 (Office)# ATTRIB CHANGES FOR THIS ENTRYcn= A AinsworthtelephoneNumber= +44 71-387-7050 x 3396 !telephoneNumber= +44 1-387-7050 x 3396 # ATTRIB CHANGES FOR THIS ENTRYcn= P AinsworthtelephoneNumber= +44 71-387-7050 x 3387 !telephoneNumber= +44 1-387-7050 x 3387
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -