Home / Software / BSD, Linux, and Unix / cp command and file changed
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: cp command and file changed  (Read 1359 times)
NP
Guest
« 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?
IP logged
Pages: [1] - (Top) Print 
Home / Software / BSD, Linux, and Unix / cp command and file changed « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.103 seconds with 18 queries.