Results 1 to 2 of 2
  1. #1

    Some files don't get copied easily

    When I do

    cp -fRp * ~username/public_html

    some files like .htaccess don't get copied.


    Also, how do I ensure that all existing files are overwritten by newer files of the same name?

    Is there a way to delete all non existance file in the username/public_html that's not available in ./


  2. #2
    Join Date
    Aug 2006
    please use caution with rsync.

    rsync -Cav --delete ./ ~user/public_html/


    rsync -Cav --delete ~user1/public_html/ ~userbak/public_html/

Posting Permissions

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