Tag: mac terminal

  • How to delete ._ file on mac?

    I got this ._ file name after extracting zip file on directory. In my case it was automatically created after unzipping. Here is how I delete that unwanted files.

    On your mac terminal run the command:

    dot_clean /Volumes/directory/path

    I always wanted to delete this in linux way and you can still perform this on your mac terminal.

    Step One: browse on the directory where the ._ file name using the command:

    cd /Volume/path

    Step Two A: When you are in the directory that you want to delete all the files with name ._, just run the command:

    find . -name '._*' -type f -delete

    Step Two B: If you want do delete file recursively.

    find . -type d | xargs dot_clean -m

    find . -type d – will go to each directory recursively and xargs dot_clean -m will perform delete.

    That how easy it is to delete ._ files on your mac

  • How to update wordpress version, themes and plugins on XAMPP VM?

    When trying to update plugins, themes or wordpress version it leads you to ftp informations for the reason that your wordpress don’t have credentials or access to the system files and folders.

    To solve my problem I go to xampp-vm “open terminal” where I do some terminal command.

    I simply update the user group of the wordpress folder same on the http.conf settings.
    You can look for these value.

    <ifmodule unixd_module>
    User daemon
    Group daemon
    </ifmodule>

    At the terminal command, change the owner of the folder with this command.

    sudo chown -Rf daemon.daemon /path/of/wordpress

    Do not forget to restart your Apache to make your changes take effects.

    It works for me and I hope it helps you too.You can also try the old version of doing this and the other way around is that you change the httpd.config settings to the present user admin. check this tutorial How To Update Your WordPress On XAMPP Running On Mac OSX?