12-11-2008
18,
0
Join Date: Dec 2008
Last Activity: 24 April 2009, 4:35 AM EDT
Posts: 18
Thanks Given: 0
Thanked 0 Times in 0 Posts
Need Help
Hi one to All
I have written some script which will find the file in particular path
it dispalying the files, but i want date of the each file .
#!/bin/bash
echo -e "what is the keyword for your file to be searched? \n"
read file_keyword
echo "pleae enter the path where we can search the file? \n"
read path
echo "Here is your search output \n"
find "$path" -name "*${file_keyword}*"
o/p is
Here is your search output \n
/oracle/gtx/science_inc_1.txt
/oracle/gtx/science_inc_1.txt
but my req is it should dispaly the date with file
like
dec11 /oracle/gtx/science_inc_1.txt
dec12 /oracle/gtx/science_inc_1.txt
could you please help on this
thanks
saic