- Edit the file
- Type [cmd + F]
- Among the Options, tick Regular expressions
- Type [esc]
- (Type and) select in the file the Replace with lines of text
- Type [cmd + F] [cmd + X] [tab] [cmd + V] [esc]
- (Type and) select in the file the Find lines of text
- Type [cmd + F] [tab] [down arrow] [down arrow] [enter]
Mac AppStore forces me to the Spanish site
- My ID is associated to the Spanish site because my credit card is from there.
- Now I’m in Holland but I do not speak Dutch.
- In the AppStore I can select the country, but not the language!!
- When I shop for something I want to read reviews about it.
- Spanish reviews are not available. (most of the times)
- I select the USA site.
- Changing country logs me out!!
- Now I have many reviews to browse. (I knew it!!)
- If I want to buy something, I click the Buy button.
- It wants me to login again, but…
- …it results in an error. (Translation: this Apple ID can only be used in the Spanish App Store)
- After accepting the error, I get redirected to the home of the Spanish site.
- Now I have to find that app again…
How to clean the quarantine flag
In a Mac, anything downloaded from the Internet, gets tagged with a security flag, the com.apple.quarantine flag. This is really useful because it later allows the user to authorize a program to run, and avoid unwanted possibly dangerous actions to be performed.
The flag is also applied to the contents of downloaded files, so when I downloaded the WordPress installation ZIP file, and extracted it to my htdocs folder, each and every WordPress file got flagged. Really no big problem, up to when I tried to edit files from within the WordPress admin panel. Not possible…
To get rid of the quarantine flag on all WordPress files at once I used these commands:
cd wordpress
xattr -r -d com.apple.quarantine ./*