Click to See Complete Forum and Search --> : locating files


iocasimiro
04-10-2003, 01:19 AM
Hi!

What command I need to type for me to locate the specific files that will display the it's complete location and the date of the file.

thanks in advance....

Imee :)

KarrottoP
04-10-2003, 01:27 AM
locate the file this way....first update the database of files with the command "updatedb" then locate the file by typing "locate <file or part of file name> for the other things you want to do, the easiest way I have done it is by loading up konqueror or nautalis and getting that info through there.

Suramya
04-10-2003, 02:16 AM
you can also use the following find command to search for files and show the full path and the date created etc:

find . -name 'filename' -exec ls -l {} \;

You can replace ls -l {} \; with any other command if you want it to work on the results returned by find. The {} sequence represents the files that find returns and the \; sequence represents the end of the -exec argument.

Hope this helps.

- Sur

chrism01
04-10-2003, 05:50 AM
You could try
ls -lR filename

R=recursive :)

iocasimiro
04-10-2003, 09:19 PM
Thank you for all your help....


Imee:)