Results 1 to 4 of 4
  1. #1

    Replacing files when copying

    cp -fRpu durable/* used

    Some files like header.php is copied. Some files like styles.css is not replaced.

    Why?

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    I think it might be because of the u option.
    -u, --update
    copy only when the SOURCE file is newer than the destination
    file or when the destination file is missing
    Do you have theis file already in the destination?
    cp -rpf durable/* used/ should copy everything.

  3. #3
    Thank you a lot my friend.

  4. #4
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    Welcome dude.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •