Istvan, On Tuesday 24 January 2006 04:19, Istvan Gabor wrote:
Both ext3 and reiserfs do not store the creation time of the
file. There is
apparently little use for this, and you fall in the minority who
really
misses this.
I was afraid that it's not possible.
How could I rename the files in a batch so that the file names themselves would contain the date? Eg. file-name.txt --> file-name_date.txt I have many files I'd like to rename.
There are two commands (along with some scripting) that allow you to transfer one of the file's three timestamps to its name: stat (1) - display file or file system status date (1) - print or set the system date and time The date command has a large array of formatting options and will allow the date it shows to be supplied on the command line, so you can take the output of the appropriate "stat" invocation and pass it to an invocation of "date" that formats the date in a manner suitable for your file-name-embedded timestamps.
Thanks, IG
Randall Schulz