StuffIt Deluxe syntax question

I’ve got 18,200 high-res EPS files, each > 31MB, that must be expanded from self-extracting (.sea) files. Many .sea files contain not only the .EPS file I want from it, but also a number of other equally-humungous image files. I know the name of the EPS file within each .sea that I want, but I can’t quite get the syntax right to script StuffIt Deluxe 8.0 to do it without grinding through all the other images I don’t want.

I assume I want the “extract” verb, but I can’t see how to say I only want file “ABCDEFG.eps” extracted from archive ABCDEFG.sea. I get everything by saying “unstuff ” but I don’t want that.

Thanks very much for any advice.

  • Dan

This works here in Stuffit Deluxe 10 – your mileage may vary…

tell application "StuffIt Deluxe"
	open file ((path to desktop as Unicode text) & "ABCDEFG.sea")
	unstuff archive item "ABCDEFG.eps" of archive "ABCDEFG.sea" into file (path to desktop as Unicode text)
end tell

Hope that helps!
Tom

Thanks Tom - works perfectly! why doesn’t something that straightforward jump out at me…

Anyhow, thanks a million (actually, thanks half a terabyte).

  • Dan