Hi,
the command:
with the /root/bin/test.sh script:
Should stop at the first file found.
From the find() page:
-exec utility [argument ...] ;
True if the program named utility returns a zero value as its
exit status.
Why the command doesn't stop ?
--
Regards
Maurizio
the command:
# find /tmp -exec /root/bin/test.sh {} \;
with the /root/bin/test.sh script:
Code:
#!/bin/sh
#
echo "$1"
exit 1
Should stop at the first file found.
From the find() page:
-exec utility [argument ...] ;
True if the program named utility returns a zero value as its
exit status.
Why the command doesn't stop ?
--
Regards
Maurizio