How to copy/move whole directory ?

3 posts / 0 new
Last post
#1 Mon, 05/28/2012 - 07:12
Anonymous

How to copy/move whole directory ?

I have just learnt that I can include php files that are outside of the home directory.

I have a copy of a library class in several virtual servers

what is the best way to move or copy a whole directory ?

I want to copy the entire directory contents of: /home/guru54gt5/public_html/lib

to :

/usr/local/share/lib

Thanks

Mon, 05/28/2012 - 22:30
Thanesh

Hi Davvit,

1) Go to home/guru54gt5/public_html/lib

type: cp * /usr/local/share/lib

Above command will copy /guru54gt5/public_html/lib to /usr/local/share/lib

Tue, 05/29/2012 - 04:58
Davvit

Thanks :)

Got that done and it works well :),

Topic locked