• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell script to get a list of all subfolders inside a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script to get a list of all subfolders inside a folder


  • Subject: Re: Shell script to get a list of all subfolders inside a folder
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 14 Oct 2015 17:32:26 +0200

> Le 14 oct. 2015 à 02:11, Shane Stanley a écrit :
>
> On 14 Oct 2015, at 10:34 AM, Shane Stanley wrote:
>
>> I'm not sure what to say. I ran your latest version on my home folder, and it took about 80 seconds, versus 14-15.
>
> So I tried it on a different folder, and indeed the results were the other way around. There were also differences in the results: Thomas's script is finding hidden folders, and therefore folders within hidden folders. I’m guessing my home folder contains a lot more of those than Thomas's test folder, which would possibly explain the discrepancy.

Hello Shane,

Thomas speaking here. ;-)

A quick clarification for those who would attempt some comparisons.

I have built that list of folder extensions:

	(xcodeproj|deps|nib|app|pbproj|fs|ppp|workflow|xcode|xcdatamodel|pkg|bundle|lpdf|kext|dSYM|wdgt|settings|trace|Patch|split)

so as to get the same results with the find(1) utility as with Shane’s getFoldersIn() handler when applied to a *specific* folder I have on *my* disk.

That list is thus an ad hoc construct, and was never intended to provide a universal replacement for the getFoldersIn() handler.

Axel


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

This email sent to email@hidden


  • Follow-Ups:
    • Re: Shell script to get a list of all subfolders inside a folder
      • From: Shane Stanley <email@hidden>
References: 
 >Shell script to get a list of all subfolders inside a folder (From: Bert Groeneveld <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Axel Luttgens <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Shane Stanley <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Axel Luttgens <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Shane Stanley <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Axel Luttgens <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Shane Stanley <email@hidden>)
 >Re: Shell script to get a list of all subfolders inside a folder (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Folder Type Identifier
  • Next by Date: Clear Google Chrome browsing data
  • Previous by thread: Re: Shell script to get a list of all subfolders inside a folder
  • Next by thread: Re: Shell script to get a list of all subfolders inside a folder
  • Index(es):
    • Date
    • Thread