Re: Find file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux