Mac – Mavericks — AFP shares need to become SMB shares

With Mavericks, Apple is moving farther away from AFP support. It’s time to change our AFP points in our Network Shares to smb pointers.

Two commands come in very handy to find and replace the needed text in the files …

perl -pi -w -e 's/afp/smb/g;' *afploc
perl -pi -w -e 's/ACHILLES.//g;' *afploc
perl -pi -w -e 's/HECTOR.//g;' *afploc
perl -pi -w -e 's/ATHENA.//g;' *afploc
perl -pi -w -e 's/HELEN.//g;' *afploc
perl -pi -w -e 's/JASPER.//g;' *afploc

This entry was posted in Labs and tagged , , . Bookmark the permalink.

Comments are closed.