[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: Gerald Young <me@xxxxxxxxxxx>
- Date: Sat Sep 15 08:47:18 2001
- Organization: Coolcat Dot Net ltd
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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 :(
## ok above command is trying to copy dir/ to home/sites/www.domain.be/web/
think www.domain.be is a symbolic link better to cp or mv to
/home/sites/sitex/ - etc
## ok i dont think mv has a recursive option it will move all dirs and sub dire
files etc.
try copy to start with recursive switch is lowercase r
#3 usage cp -r taerget/directory /newlocaltion
cp -r /home/sites/sitex /home/sites/sitexnew
or
cp -r /home/sites/sitex/* /home/sites/sitexnew/
or using move
mv /targetfilesordirs /newlocation
hope above makes sense
b w g
>
> Bob
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
--
------------------------------------------------------
http://www.coolcat.net http://www.coolcoach.net
10:01am up 22 days, 23:56
A Linux machine! because a 486 is a terrible thing to waste!