Programming Wiki: Linux Find Tips

Programming Wiki : LinuxFindTips

WikiHomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Linux Find Tips

LinuxNotes


Excluding directories from a search
find / -type d \( -name dev -o -name home -o -name proc -o -name log -o -name sys \) -prune -o -print;

This would search all of the directories on the system except dev, home, proc, log, and sys and show the results.

There are no comments on this page. [Add comment]

Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0243 seconds