Re: [SLUG] Directory copying question

From: Norbert Cartagena (gnorb@tampabay.rr.com)
Date: Fri Sep 13 2002 - 10:09:31 EDT


Smitty wrote:
> I hope I am answering my own question:
> I mkdir /mnt/blah, then mount /dev/hdb_ /mnt/blah
> then cp -a /olddrivedir /mnt/blah
> for each directory.
> Smitty
>
If there are alot of directories, you might want to do the following:

cp -a /{dir1, dir2, dir3...} /mnt/blah/

If it's just everything in that directory that you want to copy, then try:

cp -a -r /dir/* /mnt/blah

Gnorb



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:28:43 EDT