|
|
10.4: Batch text conversion with textutil
Very minor suggestion however it would be much more efficient to use xargs to batch up the conversions. The current command will execute textutil for each file - as textutil will accept multiple files you can do something like -
10.4: Batch text conversion with textutil
I don't get it. Xargs simply puts one line onto the command line at a time. -0 says the argument spacing is delmited by nulls . and print0 replaces the newlines with nulls. So this will put all of the find results onto a single line. How does xargs know when the line buffer is overflowed and it needs to go to re-invoke the command again. Can't find this documented.
10.4: Batch text conversion with textutil
Why do want this documented? Isn't it enough to know that xargs does know about the limits of the command line length?
If you are really interested, read the source.
10.4: Batch text conversion with textutil
It gets this from sysconf(3) - |
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.14 seconds |
|