×
People also ask
Oct 27, 2019 · The 'killer' in your solution (given large number of files) are the repeated execution (one per file) of the 'shell'.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. ... Connect and share knowledge within a single location that is structured and ...
Sep 28, 2009 · The thing I'd found confusing about -prune is that it's an action (like -print ), not a test (like -name ). It alters the "to-do" list, ...
Jun 7, 2011 · I have this alias for finding recent files in my ~/.zshrc : fr () { find ./ -iname "*"$@"*" -printf "%T@ %Td-%Tb ...
Jul 22, 2015 · This will print the name and contents of files-only recursively.. find . -type f -printf '\n\n%p:\n' -exec ...
Jan 27, 2012 · You can use the -printf command line option with %f to print just the filename without any directory information find .
In order to show you the most relevant results, we have omitted some entries very similar to the 8 already displayed. If you like, you can repeat the search with the omitted results included.