site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=t55Wa5Py2LFig3IDlH1IK710tE+vbOW9JovRhW+jhE0=; b=iRaKa7N4XCY3BrcdrfUfpZ3gGVLrbD+7Etbalt/H7CruYroLvzhgVSe3+B6MpNmtUV K3ki8S4FLFYHKC+tRb3+OPFG5da3WuJ+XQyb+0tApyZ1otRfiUJGD+eyMo6F9tGignH3 XowlOCEHtcu1cBQFs+aBNkClQkW3cURGRaoh8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=FV40pYNbmRQTl7e0HJ/k1UkOyRAwAf0iEwQNVcIQyerrfnnaOJWQ183/uA8+QIMmik yjQZImP2ZbUPX6fN5c+3QzPKum8H5Q75AE6vXgpioXlilJx1CsLGogH8NlTvL1VIr68u E24M+mz+N5yRdCQHoQd7aI3Y+KLQQk8O+1QWo= Hi For some multi-platform software I distribute I'm having problems with what looks like files with resource forks being distributed in the source, when the source is extracted on Linux these resource forks tend to show up as follows: -rw-r--r-- 1 501 staff 240 May 13 2010 ._compat -rw-r--r-- 1 501 staff 240 May 13 2010 ._control -rw-r--r-- 1 501 staff 240 May 13 2010 ._copyright -rw-r--r-- 1 501 staff 240 May 13 2010 ._install -rwxr-xr-x 1 501 staff 240 May 13 2010 ._rules -rw-r--r-- 1 501 staff 2 May 13 2010 compat -rw-r--r-- 1 501 staff 608 May 13 2010 control -rw-r--r-- 1 501 staff 157 May 13 2010 copyright -rw-r--r-- 1 501 staff 81 May 13 2010 install -rwxr-xr-x 1 501 staff 442 May 13 2010 rules i.e. "._compat" is how the resource fork of the file "compat" is represented under Linux. I've been looking for a way to identify files with resource forks and strip them before packaging up the source. From what I've found the following should identify files that have resource forks: $ find . -type f -exec test -s {}/..namedfork/rsrc \; -print but it doesn't seem to be working, i.e. it doesn't identify the above files. Does anyone know of a good way to find and strip resource forks from files? Cheers Adam _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com