Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2012 22:08:33 +0300
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        freebsd-questions@freebsd.org
Subject:   find -printf
Message-ID:  <143422657.20120420220833@yandex.ru>

next in thread | raw e-mail | index | archive | help
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@yandex.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?143422657.20120420220833>