Date: Wed, 15 Apr 2009 11:39:49 -0700 From: Walt Pawley <walt@wump.org> To: Peter Ulrich Kruppa <ulrich@pukruppa.net>, Tim Judd <tajudd@gmail.com> Cc: Alexander Best <alexbestms@math.uni-muenster.de>, freebsd-questions@freebsd.org Subject: Re: mkisofs and directories Message-ID: <p06240808c60bd9e736b5@[10.0.0.10]> In-Reply-To: <1239806894.86545.12.camel@pukruppa.net> References: <permail-2009041422182680e26a0b00004c0e-a_best01@message-id.un i-muenster.de> <ade45ae90904142222r540e449ctb33b3077b822c08a@mail.gmail.com> <1239806894.86545.12.camel@pukruppa.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 4:48 PM +0200 4/15/09, Peter Ulrich Kruppa wrote: >> unix naming convention normally dictates the following: >> cp -r /cdrom/dir /mnt/ >> # will create /mnt/dir and everything under it >> cp -r /cdrom/dir/ /mnt/ >> # will copy contents of dir into /mnt >That was what I thought it should do - but it doesn't! I'm pretty certain "cp" doesn't care about the trailing slash and hasn't. OTOH, you could use "rsync" which does change its behavior depending on the trailing slash. -- Walter M. Pawley <walt@wump.org> Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06240808c60bd9e736b5>