find -printf

Eugen Konkov kes-kes at yandex.ru
Fri Apr 20 19:08:41 UTC 2012


Hi

I have downloaded asvn script to save also filepermitions for files on
FreeBSD in svn repository
http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/asvn

but this script fails with:
checking /some/dir for symlinks
find: -printf: unknown primary or operator

in source of script there is a command:
find "$dir" \( -type l -printf "file='%f' dest='%l'\n" \)  -o  -type d ! -name "`basename \"$dir\"`" -prune

checking 'man find' there is no -printf parametr.

Does FreeBSD has different version of find utility compare to linux?
Maybe some knows workaroud for that?



-- 
 Eugen                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list