Hi all,
How do I make the Find command not traverse the sub directories? I tried using the "prune" option but no success there. Can some one suggest the actual command
I tried
find . -name "xfile*" -prune subdirectory -mtime -5
with the intention of preventing the find command from going to "subdirectory" but in the results I still see the files that are in the subdirectory
thanks for any help
How do I make the Find command not traverse the sub directories? I tried using the "prune" option but no success there. Can some one suggest the actual command
I tried
find . -name "xfile*" -prune subdirectory -mtime -5
with the intention of preventing the find command from going to "subdirectory" but in the results I still see the files that are in the subdirectory
thanks for any help