Nicolas Williams <[email protected]> wrote:

> I'd be happy with that.  Someone suggested a -o field1,field2,..,fieldN
> option, and that's starting to look desirable.  There's at least these
> fields that you could include in output:
>
>  - object number
>  - object type
>  - timestamp*
>  - generation number
>  - type of change (create*, unlink*, rename*, other*, other meta-data, data)
>  - old path*
>  - new path*
>  - link count*

If you like to discuss meta data diff options, I recommend you to look at 
software that implements this since a long time already......

Star implements meta data diffing since 1993. 

star diffopts=help
Diff options:
        not             if this option is present, exclude listed options
        !               if this option is present, exclude listed options
        all             compare everything
        perm            compare file permissions
        mode            compare file permissions
        symperm         compare symlink permissions
        type            compare file type
        nlink           compare linkcount (star dump mode only)
        uid             compare owner of file
        gid             compare group of file
        uname           compare name of owner of file
        gname           compare name of group of file
        id              compare owner, group, ownername and groupname of file
        size            compare file size
        data            compare content of file
        cont            compare content of file
        rdev            compare rdev of device node
        hardlink        compare target of hardlink
        symlink         compare target of symlink
        sympath         compare target pathname of symlink
        sparse          compare if both files are sparse or not
        atime           compare access time of file (only star)
        mtime           compare modification time of file
        ctime           compare creation time of file (only star)
        times           compare all times of file
        lmtime          compare modification time of symlinks
        xtimes          compare all times and lmtime
        dir             compare directory content (star dump mode only)
        acl             compare access control lists (specify -acl also)
        xattr           compare extended attributes (specify -xattr also)
        fflags          compare extended file flags (specify -xfflags also)

Default is to compare everything except atime.

More information is in "man star".

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to