|
|
Make complex Finder selections with glob patterns
One minor nit: In addition to the "-d" option to the ls command, it would be a good idea to add "-1" (that's number one with a hyphen in front of it). That ensures that the ls command lists a single item on each line.
Make complex Finder selections with glob patterns
There's no need for the -1, the man page for ls states:
-1 (The numeric digit ``one''.) Force output to be one entry per line. This is the default when output is not to a terminal.
choice of ls arguments
Exactly. In fact, my first draft of the script did use On the other hand, it wouldn't hurt to retain the explicit argument, and it would clarify the intent of the code, so I may include it in any future revisions. In the meantime please do make (and share) any changes you find useful. Thanks! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|