On Tue, 19 Mar 2002, USM Bish wrote: > On Mon, Mar 18, 2002 at 03:26:12PM +0530, Dr. Sharukh K. R. Pavri. wrote: > > On Sun, 17 Mar 2002, USM Bish wrote: > > > > > On Sat, Mar 16, 2002 at 06:06:16PM +0530, Dr . Sharukh K . R . Pavri . wrote: > > > > > ---end quoted text--- > > > > > > To make a replica of existing directory to another hard disk, > > > after making the partitions, and mkfs, all that is needed is > > > > > > #cp -a <sourcedir> <destdir> > > > > > > All files, dirs, links and fifos with original ownerships and > > > permissions would be copied. > > > > > > > I did cp -a /home/spavri/ /mnt/cdrom/spavri/ > > > > but none of my hidden files or hidden directories were copied > > over. > > > > There seems to be an error in your command line .. Obviously, you > want to restore your $HOME from a CD backup. Quoting from man for > "cp" command:
No no, let me clarify, my new /home is mounted on /mnt/cdrom so the above *is* correct. I think I will try using . instead of *. many thanks, Sharukh. (who is going to re-read the cp man page tonight) -- Dr. Sharukh K. R. Pavri Mumbai, India. _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
