|
|
Easy conversion of multiple Safari .webloc to PC .url files
It's amazing that, in 2009, Apple continues to push it's non-standard/non-cross-platform extended file attributes and army of hidden meta-data dot-files.
Anyway, in my quest to share data from webloc files with colleagues on PCs, using DropBox, I found this post and the follow-up comments very useful. Below is a script that suits my needs:
find, basename, dirname, test, tr, sed, and grep.
Unfortunately, this script also makes use of Apple's Dev Tools scripts: DeRez and plutil.Here is how I run the script to recursively find all webloc files and overwrite existing URL files: $ find . -iname *.webloc -exec ~/ConvertWeblocToURL.sh -y \{\} \;
To not overwrite existing URL file (handy for cron or periodic jobs): $ find . -iname *.webloc -exec ~/ConvertWeblocToURL.sh -n \{\} \;
Source of "ConvertWeblocToURL.sh":
Easy conversion of multiple Safari .webloc to PC .url files
One note. One edit.
|
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 |
|