Joerg Friedrich schrieb am Mittwoch, 02. Februar 2005 um 15:09:31 +0100: > Michelle Konzack schrieb am Mittwoch, 02. Februar 2005 um 14:39:25 +0100: > > Am 2005-02-02 14:21:21, schrieb Joerg Friedrich: > > > > > Wenn eine Datei in einem Verzeichnis verändert wird, ändert sich auch > > > die ctime des Verzeichnisses. damit findet Dein find auch das > > > > Öhm, - ctime ist die "Create-Time", > > was du meinst ist die mtime, also die "Modified-Time" > > Nein ich meine ctime. > > ctime steht _nicht_ für "Create-Time" > aus 'info find': > =======SNIP========= > File: find.info, Node: Time, Next: Size, Prev: Links, Up: Finding Files > > 2.3 Time > ======== > > Each file has three time stamps, which record the last time that certain > operations were performed on the file: > > 1. access (read the file's contents) > > 2. change the status (modify the file or its attributes) > > 3. modify (change the file's contents) > > You can search for files whose time stamps are within a certain age > range, or compare them to other time stamps. > =======SNAP========= > > wobei > > 1. mit -atime > 2. mit -ctime > 3. mit -mtime > > abgefragt werden kann > > eine Create-Time gibt es nicht. Du kannst Dir diese Daten bequem anzeigen lassen mit 'stat' jeff@hitchhiker:~/testdir$ stat test1/ File: ,,test1/" Size: 4096 Blocks: 8 IO Block: 4096 Verzeichnis Device: 30ah/778d Inode: 83148 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 1000/ jeff) Gid: ( 1000/ jeff) Access: 2005-02-02 15:22:54.405954119 +0100 Modify: 2005-02-02 14:16:20.048689129 +0100 Change: 2005-02-02 14:16:20.048689129 +0100 jeff@hitchhiker:~/testdir$ stat test1/murx File: ,,test1/murx" Size: 0 Blocks: 0 IO Block: 4096 reguläre leere Datei Device: 30ah/778d Inode: 83149 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ jeff) Gid: ( 1000/ jeff) Access: 2005-02-02 14:16:20.048689129 +0100 Modify: 2005-02-02 14:16:20.048689129 +0100 Change: 2005-02-02 14:16:20.048689129 +0100 > > > > > -- > Jörg Friedrich > > There are only 10 types of people: > Those who understand binary and those who don't. -- Jörg Friedrich There are only 10 types of people: Those who understand binary and those who don't.
Attachment:
signature.asc
Description: Digital signature