Am Sonntag, 28. Dezember 2003 18:27 schrieb Thomas Hofer:
Al Bogner wrote: [Sunday 28 December 2003 18:07]
Ich hätte es mit star probiert, das führt aber zu u.a. Meldungen.
(cd /brenndaten/; /opt/schily/bin/star -cPM .)|(cd /media/dvdram/; /opt/schily/bin/star -diff -v diffopts=!times) bash: !times: event not found
Die Meldung kommt nicht von star, sondern von der bash. Das Problem ist das Rufzeichen. Probier mal die Option zu quoten: 'diffopts=!times'
Danke, das half. Aber ganz zufriedenstellend ist der Vergleich noch immer nicht, (cd /brenndaten/; /opt/schily/bin/star -cPM .)|(cd /media/dvdram/; /opt/schily/bin/star -diff -v 'diffopts=!times,!perm,!type,!id') /opt/schily/bin/star: 0 blocks + 2560 bytes (total of 2560 bytes = 2.50k). /opt/schily/bin/star: Blocksize = 5 records. diffopts=nlink,size,data,rdev,hardlink,symlink,sparse /opt/schily/bin/star: 1 blocks + 0 bytes (total of 2560 bytes = 2.50k). Ich vermute mal, dass dieser Unterschied kein echtes Problem ist. Wie unterdrücke ich das? !size half nicht. /opt/schily/bin/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 type compare file type nlink compare linkcount (not supported) 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 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 Al