Find is a beautiful tool
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Saved by 25 people (-2 private), first by anonymouse user on 2008-07-10
- Gnaroji on 2009-10-17 - Tags linux_commands
- Cinayakoshka on 2009-09-09 - Tags Read , It , Later
- Chupacabra on 2009-05-30 - Tags Unix
- Genericbrandx on 2009-05-05 - Tags no_tag
Public Sticky notes
only want to match files
Highlighted by richard432
find . -name "*.css" -exec sed -ier 's/#(FF0000|F00)\b/#0F0/' {} \;
Gasp! Wait a minute, I just searched for both ways to specify red and replaced it with green in my CSS!! How long would that have taken otherwise? Do you see now how you can code faster by automating it and combining powerful tools? Let’s look at some other cool search options find has to offer:
Highlighted by ejwettstein
-exec
Highlighted by richard432
changed in the last 1 day
Highlighted by richard432
larger than 1 Mb
Highlighted by richard432
newer than main.css
Highlighted by richard432


Public Comment