Find file

Steve Graegert ml at technologies.de
Mon May 10 19:23:48 BST 2004


On Monday 10 May 2004 18:42, David A. Ferguson wrote:
> Is there a way to tell find file to *not* search under /mnt.
>

David,

regular expression should help. They can be entered into the "Containing text" 
field in the "Contents" tab of the KFind dialog. You can use the 
KRegExpEditor from the kdeutils package to create the expressions 
graphically. Documentation can be found at 
http://docs.kde.org/en/3.2/kdeutils/KRegExpEditor/
Alternatively try the find command using the -xdev switch to exclude searching 
on other filesystems or something like

    find / -name filetofind -path '/mnt/mysmbmount' -prune -o -print

The -prune switch causes the whole directory tree being ignored rather than 
checked

Steve.
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list