solved there is no way to see creation time only change time (ctime) and access time (atime)
the command is : ls -l --time=ctime ( or --time=atime) regards erez. On Mon, 2002-01-14 at 15:47, Oleg Goldshmidt wrote: > Tzafrir Cohen <[EMAIL PROTECTED]> writes: > > > On 14 Jan 2002, Erez Doron wrote: > > > > when i do 'ls -l' , i get the file modification time > > > how do i get file creation time ? > > > Try using 'find' instead of 'ls'. The option -printf is very > > powerful. > > Can you elaborate? The find info pages say > > 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) > > There is no "creation" filestamp, IIRC, struct inode only has atime, > ctime, and mtime, as above. Gurus, please confirm or deny? > > > I'm not sure, though, how to list only the files in the current directory, > > and not in subdirectories. > > Check the -mindepth, -maxdepth options of find. > > -- > Oleg Goldshmidt | [EMAIL PROTECTED] > "If it ain't broken, it has not got enough features yet." ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]