Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: cp command and file changed  (Read 9216 times)

0 Members and 1 Guest are viewing this topic.

NP

  • Guest
cp command and file changed
« on: September 03, 2004, 06:05:37 PM »
hi, I'd want to archive the whole directory. I'm thinking of usging cp -a, and not sure what it does if while in the process of copying, some files got changed or deleted. Will it
  case 1: stop?
  case 2:
         a: if file changed: ignore the changed and copy the old file and keep copying the rest?
          b: if file deleted: skip the file and keep copying the rest?
    or esle?