![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| retrive value from a file | satish@123 | Shell Programming and Scripting | 7 | 05-17-2008 05:57 AM |
| retrive lines from a file using AWK command | swamymns | Shell Programming and Scripting | 1 | 05-04-2008 06:47 PM |
| to retrive data that appear only once in a file. | anibu | Shell Programming and Scripting | 1 | 10-26-2007 07:54 AM |
| help to retrive data from log file | d_swapneel14 | Shell Programming and Scripting | 5 | 07-06-2006 01:57 AM |
| get a file's timestamp | shihabvk | UNIX for Advanced & Expert Users | 1 | 05-30-2005 03:18 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have shell script which reads files, stores its data into Oracle and then deletes tht file.
now i want to know creation date and time of deleted files. can we do this? if yes then how? |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
we can not find the creation date what we can find is Last modified date which we find with 'ls -l ' option.
As you are deleting files I wud recommend to modify ur script a bit by adding two lines and appending the result into log file.Later you can check ur log file. Code:
echo "Run time is `date`">>logfile ls -l $filename >>logfile |
|
#3
|
|||
|
|||
|
that is ok.. but rt now i want deleted file's modified date and time... can we retrive this info?
|
|
#5
|
|||
|
|||
|
Thanks..
will work on it and let u people know abt it. |
|||
| Google The UNIX and Linux Forums |