On Wed, Jan 26, 2011 at 1:01 AM, Always Learning <cen...@g7.u22.net> wrote:
[...]
> .fs
>        # /bin/bash
>        find /data -iwholename *$1
>        find /ax -iwholename *$1
>        find /bx -iwholename *$1
>        find /cx -iwholename *$1
>
> Obviously with the chmod +x.  The last one makes searching times much
> faster when seeking non-operating system files.
>
[...]
> Paul.
> England,
> EU.


You may not be aware of the "locate" command?  Nightly there is a job
that runs (updatedb) that scans the disk and saves file locations.
Locate searches this database instead of you have to do a 'find'.  The
only thing it won't get are files that were added since the last
'updatedb' run.  You can run that whenever you want to update the db,
or use find in those cases.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to