Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

on Mac, you know there is no 'merge files' when you command+c/command+v some folder on another one, it actually replaces it.

I'm simply wondering on what UNIX is this based? Because correct me if I'm wrong, but "cp - R" DOES merge files, no? And that's what I'm doing via the Finder, copying some files and folders...

share|improve this question

GUI functionality generally doesn't use console commands. The Finder presumably employs some Cocoa interface; the cp utility normally uses open/read/write (i.e., it reads the contents of the file into memory and creates another file using these contents elsewhere) as there is no Unix system call for copying files.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .