Tag Archives: Commands

Synchronize folders using rsync and ssh

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It [...]

Setup a secure ftp server for remote access on OS X

Recently quite a number of forum members asked about how to transfer large file between remote locations. The online services such as DropBox and Wuala do a good job but if you already have a Mac or a Linux machine, it is so much easier and also secure to setup your own FTP (File Transfer [...]

Use find command to delete multiple files

If you are comfortable using the Terminal.app here are some examples of how you could use the find command to delete multiple files. Delete a folder(s) in the current location including sub directories with a specific name. find . -name "Folder Name" -exec rm -rf {} \; Delete file(s) in the current folder with specific [...]

How to get rid of the multiple entries in “Open with” menu?

Copy and paste the following code on the Terminal.app and hit enter. /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user Update: It sounds like the above trick does not work with Leopard. The Leopard users should execute the following command on the Terminal. You may have to sudo to work this properly. locate [...]