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"
%p
instead of %h/%f
.
Jan 25, 2011 at 16:47