Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: List contents of .zip archives with Automator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: List contents of .zip archives with Automator
Authored by: jvr on Aug 01, '06 06:25:48PM

That's odd. You're the second person that has mentioned a problem like this. The only thing I can think of to check would be to look under TextEdit -> Preferences, and see what font is set as default for plain text files.



[ Reply to This | # ]
10.4: List contents of .zip archives with Automator
Authored by: KeithGarner on Aug 02, '06 09:01:08AM

I'm also getting the chinese giberish. I tweaked the preferces for TextEdit to make the default text files and the encoding of text files to be Western-1. However, I'm still getting the giverish. Jumping to the command line I see:

kgarner@oracle [666]:file Temp Archive List.txt
Temp Archive List.txt: Little-endian UTF-16 Unicode character data, with very long lines, with no line terminators

That is not what i changed the default too, and even if it was, I would assume TextEdit should be able to read back in what it wrote. I'm a bit stymied as to what the problem could be. I'd like to use this method as this is the prefered way to do it. However, I found a work around.

Steps 1 and 2 are mostly the same as above, except you change #2 to: /usr/local/bin/als "$@" > ~/Desktop/Temp Archive List.txt Step three then becomes "Finder > Get Specified Finder Items" and you tell it the Temp Archive.txt file. The final step of open with the default application is the same.

Another change I made (but I tested with your original unzip -l) was to use atool which makes this this automation more useful as the atools recognize a large amount of archive formats.

(And yes, that was really the 666th command of that shell, I honestly didn't doctor that.)



[ Reply to This | # ]