with the following command:
find /tmp -depth -name file
I get the:
/tmp/file
/tmp/test_file/file
But what I need to add to find command in order to get the following print?
file=/tmp/file
file=/tmp/test_file/file
Maybe with the printf option:
find /tmp -depth -name "file" -printf "file=%h/%f\n"
%pinstead of%h/%f. – Dennis Williamson Jan 25 '11 at 16:47