Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: satimage OSAX list folder problem



At 9:26 AM +0200 6/20/07, Håvard Graudo wrote:
>If I try to list a folder with more than 31 characters in the folder name I get "Bad name for file" error.
>Is this a known limitation, or am I lost somewhere? OSAX is version 3.1.8.
>
>list folder "Macintosh HD:a folder with 31 character name:"
>--> this is OK
>
>list folder "Macintosh HD:a folder with 32 characters name:"
>-->"Bad name for file. Macintosh HD:a folder with 32 characters name"

 Do you really want to do this?  I mean, list all of the folders (and files) with more than 31 characters in the name?

 That's not something you really want to get AppleScript to do. On a large file hierarchy it would run for a long time.

 If you want to do this, send me a note off list. I've got an AppleScript that calls the shell to do just this very thing. It will list the full path to all of the offending items in a file on your desktop. The shell gets the job done quite quickly.

 - web
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >satimage OSAX list folder problem (From: Håvard Graudo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.