As with the source folder this should enter the full path to the destination folder. At this point the command should look similar to the following: rsync -av /path/to/source/*Īfter you have entered the slash and asterisk characters, enter a space and then locate the folder where you would like to copy the files and drag it to the Terminal window. Remove this space by pressing the delete key once, and then type “/*” to tell the command to specify all items within the parent folder (otherwise the parent folder itself will be the target). When you do this the full path to the folder will be input at the cursor along with a single space. With one of the above commands and flags typed, continue by typing a single space and then drag the parent folder of your source files to the Terminal window.
These options can be looked up in the manual pages for each program, which can be done by typing “man cp” or “man ditto” in a Terminal window (or doing a Google search), but for most purposes the following options should be adequate: cp -av There are many commands that can copy files, but the three most common ones are “cp” (copy), “rsync” (remote sync), and “ditto.” As with any terminal command, each of these is a separate program that can take optional flags to tailor its behaviors for your needs, such as allowing it to preserve permissions on the copied files, or allow it to copy recursively into directories, and so on. Then open the OS X Terminal and perform the following steps: First ensure that you have both the source files and your copy destination mounted and available on your system so you can see them in the Finder.