Activity Stream
48,167 MEMBERS
6756 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Member

    Default How to use SSH for copying a Directory

    I want to copy my site's directory into another directory to do board testings.


    What is the SSH command for that?


    Thank you.
    ZeroAT Reviewed by ZeroAT on . How to use SSH for copying a Directory I want to copy my site's directory into another directory to do board testings. What is the SSH command for that? Thank you. <3 Rating: 5


  2.   Sponsored Links

  3.     
    #2
    OH GOD!!!!!
    Website's:
    HotNewHipHop.com
    I Believe is

    cp -r /folderyouwant/tocopy /intothisdestinationfolder/

  4.     
    #3
    Respected Member
    With permissions/owner info add -p (especially when testing) and I believe you need * like this:
    cp -rp /folderyouwant/tocopy/* /intothisdestinationfolder

  5.     
    #4
    Banned
    Website's:
    primtosegang.com
    Quote Originally Posted by ZeroAT View Post
    I want to copy my site's directory into another directory to do board testings.


    What is the SSH command for that?


    Thank you.
    The best way to do it is via rsync command :

    rsync -avz --progress folder_to_copy new_destination (if this is on the same server)

  6.     
    #5
    Member
    cp -R foldertocopy destination_path/

    That should do.

  7.     
    #6
    Banned
    Website's:
    rapidleechhosting.net ponofilms.net wupload.ws
    cp -rp /home/xxxx/public_html/ /home2/zzzz/public_html/
    hope it help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copying a database table with phpMyAdmin
    By Areon in forum Server Management
    Replies: 0
    Last Post: 17th Mar 2014, 05:15 PM
  2. Copying other forum topics to your own site legal?
    By The90sKid in forum Legal Issues
    Replies: 2
    Last Post: 18th Aug 2012, 06:39 PM
  3. Fileserve Copying (Backup) Problem
    By F A S T E R in forum General Discussion
    Replies: 4
    Last Post: 31st Dec 2011, 11:19 AM
  4. Copying Is Not Theft
    By Dan.Crew in forum General Discussion
    Replies: 1
    Last Post: 6th Dec 2010, 05:12 AM

Tags for this Thread

BE SOCIAL