find

search for files in a directory hierarchy

copy
61
9
find /usr -newer /tmp/stamp$$

details |

copy
41
3
find $HOME -name '*.c' -print | xargs grep -l sprintf

details |

copy
16
3
find . -name '#*' -print | xargs echo

details |

copy
26
2
find ~ ( -name '*~' -o -name '#*#' ) -print0 |

details |

copy
27
2
find /tmp -path /tmp/umsp/passwd -exec /bin/rm

details |

copy
26
2
find . -name '*.h' -execdir diff -u '{}' /tmp/master ';'

details |

copy
27
6
find . -lname '*sysdep.c'

details |

copy
25
1
find . -wholename './src/emacs' -prune -o -print

details |

copy
29
1
find /usr/include -name '*.h' | xargs grep -l mode_t > todo

details |

copy
22
3
find ~ -daystart -type f -mtime 1

details |

copy
20
0
find . -name '.#*' -print0 | xargs -0r rm -f

details |

copy
18
0
find /tmp -name *barSearch the /tmp directory for any files that end in bar

details |

copy
18
0
find -exec sh -c "something {}" ;

details |

copy
18
0
Find all files larger than 100M on the systemfind / -size +100M -lsSearches / to find all large files on the system and display info about them

4 years, 5 months ago george 4 |

copy
24
1
find /usr/local/doc -name '*.texi'

details |

copy
15
5
find bills -type f -execdir sort -o '{}.sorted' '{}' ';'

details |

copy
14
0
find /tmp -depth -user "$LOGNAME" -type f -delete

details |

copy
13
0
find /u/bill -amin +2 -amin -6

details |