How to remove spaces from file names (in bulk)

Here is a script that can efficiently bulk rename files, stripping all spaces from the name. :renameNoSpace [/R] [FolderPath] @echo off setlocal disableDelayedExpansion if /i “%~1″==”/R” ( set “forOption=%~1 %2” set “inPath=” ) else ( set “forOption=” if “%~1” neq “” (set “inPath=%~1\”) else set “inPath=” ) for %forOption% %%F in (“%inPath%* *”) do ( … Read more

Rename or refactor files in Xcode

The safest way to rename files is to refactor the class name using Xcode’s “Refactor” command. Using that command makes sure that your code is also updated anywhere that references the file or the class (including NIBs). Right-click on the class name in the interface (.h) file, choose Refactor->Rename, and Xcode will guide you through … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)