|
|
Re: Script to list all filesystem objects with ACLs
I haven't been a big awk fan over the years, but awk may be a better choice in this case, since it can easily access the previous line.
Re: Script to list all filesystem objects with ACLs
You're right: my previous script did only filter the output of find+ls and did not produce a CSV like structure. Just for the sake of practise, I've created a pure sed variant that really creates CSV output:
It seems that the sed in Darwin is not fully following the description of it's manpages. :-( Unfortunately this script turned out to be really slow. It processed my 130MB file listing in several minutes (4-5min). I've created an Awk script that creates a CSV output as well:
This one processed the 130MB file listing in 20 seconds. The output is a comma separated file where multiple ACLs are kept in a single field (spreadsheet cell).
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.05 seconds |
|