Mailinglist Archive: opensuse (3104 mails)

< Previous Next >
Re: [SLE] Making an internal 6.4 ftp site
  • From: iwan@xxxxxxxxxxxxxxxx (Iwan Mouwen)
  • Date: Wed, 19 Apr 2000 18:01:47 +0200
  • Message-id: <38FDD86B.D16DC71F@xxxxxxxxxxxxxxxx>



> > > Now I could just pick a directory and copy each cd into it using:
> > > cp -ar /cdrom/* .
> >
> > Yes, except that * doesn't get the dotfiles. I've done this a number
> > of times, and as long as you get the dotfiles, you're okay.
> >
>
> Does'nt the -a option for cp mean archive and hence everything will be
> copied, including dotfiles. I know there is an option to include all
> manner
> of files/directries/links...

good old tar trick:

cd from_dir
tar cf - . | (cd to_dir ; tar xf - )

Iwan.


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
References