Vineet Kumar wrote:

* David selby ([EMAIL PROTECTED]) [030709 12:08]:


Is there a neater way to get a modification date for a file without ls -l & sed ? I have a bash script that needs to get the info. Because the file size varies I cannot use cut, it may cut the wrong bit.



stat -c "%y" $filename


good times,
Vineet


Many thanks
Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to