You may want to revisit your assumption: for performance reasons, file metadata is not always updated every time an open file is written to. Depending upon a lot of factors the directory could be stale and your test would think no file writes had occurred, when in fact they have.
i have to delete some files that were created on a particular date. is there any way to do that without affecting the files that were modified on the same date? (1 Reply)
Hi,
Is anybody can help me to get the file creation date with seconds?
-rw-r--r-- 1 opsc system 422550845 Aug 22 15:41 StatData.20020821
Thanks in advance
Krishna (7 Replies)
Hello folks,
I have a file, but it change every seconds, i use stats command to check its creation time, but it shows access,modify and change time same. Is there any other way to see the file creation date/time?
Thanks (2 Replies)
Hi all,
I'm after some help with this small issue which i'm struggling to work out a fix for.
I have a file that contains records that all have a time stamp for each individual record, i need to search the file for a specific time stamp and then search back 10 seconds to see if the number... (2 Replies)
Hi Everybody,
I would like to know file creation date and time in linux. I went throgh google and forums got some information but from that i am not sure for my question. Please check the following information.
"ls -l" ==> but it is just gives the last modified time and date of the file.... (2 Replies)
Hi ,
In a folder I have multiple files. I want total time taken to write those files. Can you please suggest what will be the best way to go for it? (2 Replies)
I have to list the files of particular directory using file filter like find -name abc* something and if multiple file exist I also want time of each file up to seconds.
Currently we are getting time up to minutes in AIX is there any way I can get file last modification time up to seconds. (4 Replies)
Hi Team,
Could you please let me know ,how to find the file creation date time in SFTP server.
i tred like , ls -ltr command only availble and not available like ls --full-time test.txt
please help?
Thanks (7 Replies)
Discussion started by: bmk123
7 Replies
LEARN ABOUT CENTOS
cache_repair
CACHE_REPAIR(8) System Manager's Manual CACHE_REPAIR(8)NAME
cache_repair - repair cache binary metadata from device/file to device/file
SYNOPSIS
cache_repair [options] -i {device|file} -o {device|file}
DESCRIPTION
cache_repair reads binary cache metadata created by the respective device-mapper target from one device or file , repairs it and writes it
to another device or file. If written to a metadata device , the metadata can be processed by the device-mapper target.
-i, --input {device|file}
Input file or device with binary metadata.
-o, --output {device|file}
Output file or device for repaired binary metadata.
-h, --help
Print help and exit.
-V, --version
Output version information and exit.
EXAMPLE
Reads the binary cache metadata from file metadata , repairs it and writes it to logical volume /dev/vg/metadata for further processing by
the respective device-mapper target:
cache_repair -i metadata -o /dev/vg/metadata
DIAGNOSTICS
cache_repair returns an exit code of 0 for success or 1 for error.
SEE ALSO cache_dump(8)cache_check(8)cache_restore(8)AUTHOR
Joe Thornber <ejt@redhat.com>
Heinz Mauelshagen <HeinzM@RedHat.com>
Red Hat, Inc. Thin Provisioning Tools CACHE_REPAIR(8)