bash find exec

Look! there's a flower!·2024년 5월 27일

find option -exec command {} \;
{} is the file

find . -type f -exec grep -H Try {} \;
find . -type f -exec sh -c 'echo "{}"; diff "{}" ../src196/"{}" ' \;
find . -name "*.c" -exec diff -q {} ../src2/{} \;

profile
Why don't you take a look around for a moment?

0개의 댓글