-4
votes
3answers
174 views

Find in all sub directories [closed]

I have a directory with many sub directories, I want to find a file in this directories so I use this command: find ./ -name test.php but this command search just in the top level directory, how ...
14
votes
5answers
24k views

How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?

I'm trying to use the Linux find command to find all directories and sub-directories that do not have .svn (Subversion hidden folders) in their path. I can only get it to exclude the actual .svn ...
5
votes
8answers
2k views

Linux Recursive Delete Keeping The First Dir

First question here, I'm usually on StackOverflow. I need to delete all the contents of a directory, but not the directory itself as I don't have permission to delete that actual directory. This ...