After restoring my home folder from a Time Machine backup, which resided on a Mac OS X Server box in the form of a sparsebundle, there are now various problems with the operations of several applications.
I have a hunch that this might be because of the Extended Attributes I copied over incorrectly. How can I remove all extended attributes from my entire home folder? Is there any reason not to do this? I understand that Time Machine and Spotlight both use these, but I wouldn't mind starting from scratch with both.
On the
BrT blog I found a piece of code that purports to do what I need, but, alas, it isn't working in my situation:
Code:
for i in $(ls -Rl@ | grep '^ ' | awk '{print $1}' | sort -u); \
do echo echo Removing $i ... >&2; \
find . | xargs xattr -d $i 2>/dev/null ; done
where the spaces after the caret ("^") are generated by Ctrl-V, followed by TAB.
Do any of you know of an alternative?