[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [Raq4] how move a whole dir with subdirs to another dir ?
- Subject: Re: [cobalt-users] [Raq4] how move a whole dir with subdirs to another dir ?
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sat Sep 15 08:30:55 2001
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"bob lenaerts" <bob@xxxxxxxxxx> wrote:
> Ik now this has nothing to do with cobalts, but I do not seem to know
> the unix command, to MOVE a whole directory WITH subdirs to another
> directory.
> Can anyone help me ?
> Move or copy, I don't care :-)
>
> mv -R dir/ /home/sites/www.domain.be/web/ does not seem to work :(
mv does not have a -R flag. Simpy do:
mv path_to/source_dir path_to/destination_dir
if you want it to create destination_dir.
or
mv path_to/source_dir path_to/destination_dir/.
if you want source_dir to be dropped into destination_dir.
If this isn't clear create directiories in /tmp and play with them until
it's clear.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/