Hi Stephen,

Use either the mv [move] command or cp [copy] command.

Example

Assume the following, you have a directory called docs and it is in the
following location

/home/liu/docs

You want to move this directory to the following location

/home/smith/docs

>From the directory /home/liu use the mv command as follows

mv docs  /home/smith/docs

But be aware that you must have the correct permissions to write to the
/home/smith directory.

Using cp, assuming the same scenario but this time you wish to copy rather
than move directories.  Use

cp -R docs  /home/smith

This command copies the docs directory to /home/smith/docs

Again make sure you have the correct permissions to do this.

HTH

Nigel

-----Original Message-----
From: Stephen Liu [mailto:[EMAIL PROTECTED]]
Sent: 29 June 2000 10:08
To: [EMAIL PROTECTED]
Subject: Moving directory/folder together with its files


Hi all people,

Kindly advise the simplest/easiest method to move or copy a directory/folder
including all files to a new location.

Thanks in advance

B.R.
Stephen


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to