Batch Rename files in 1 Shell Command

i=0; for x in *.jpg; do cp $x “image_$i.jpg”; i=$(($i+1)); done The above command will copy all jpeg files in a directory and give them a new name with an iterating numerical value. So if you had five images in … Continued

ISO 2 Character And 3 Character Country Codes

Here is an SQL file of the 2 Character and their corresponding 3 Character ISO Country Codes: ISO_CC.sql I’ve needed to use this several times, so I thought posting might help someone.

Avoid FTP Info Request From WordPress Updates

When performing WordPress updates, some installations prompt for FTP information. This request for FTP information is because WordPress cannot write the updates to files on the server through PHP and therefore requests FTP login information to attempt to write files … Continued