Re: Directory overwriting

2006-07-03 Thread Rodolfo Medina
Rodolfo Medina wrote: >> When I copy a file into the present directory, with: >> >> $ cp /path/to/file . >> >> , if the file already exists it is overwritten, i.e. the `old one' >> is removed and the `new one' takes its place. >> Instead, with directories it is not the same: >> when I do: >> >>

Re: Directory overwriting

2006-05-30 Thread Mike McCarty
Rodolfo Medina wrote: When I copy a file into the present directory, with: $ cp /path/to/file . , if the file already exists it is overwritten, i.e. the `old one' is removed and the `new one' takes its place. Instead, with directories it is not the same: when I do: $ cp -vr /path/to/dir . ,

Re: Directory overwriting

2006-05-26 Thread Rodolfo Medina
Rodolfo Medina wrote: > >>> When I copy a file into the present directory, with: >>> >>> $ cp /path/to/file . >>> >>> , if the file already exists it is overwritten, i.e. the `old one' >>> is removed and the `new one' takes its place. >>> Instead, with directories it is not the same: >>> when I

Re: Directory overwriting

2006-05-24 Thread Rodolfo Medina
Rodolfo Medina wrote: >> When I copy a file into the present directory, with: >> >> $ cp /path/to/file . >> >> , if the file already exists it is overwritten, i.e. the `old one' >> is removed and the `new one' takes its place. >> Instead, with directories it is not the same: >> when I do: >> >

Re: Directory overwriting

2006-05-22 Thread Digby Tarvin
On Mon, May 22, 2006 at 12:54:19PM +0200, Rodolfo Medina wrote: > When I copy a file into the present directory, with: > > $ cp /path/to/file . > > , if the file already exists it is overwritten, i.e. the `old one' > is removed and the `new one' takes its place. > Instead, with directories it is

Re: Directory overwriting

2006-05-22 Thread Roberto C. Sanchez
Rodolfo Medina wrote: When I copy a file into the present directory, with: $ cp /path/to/file . , if the file already exists it is overwritten, i.e. the `old one' is removed and the `new one' takes its place. Instead, with directories it is not the same: when I do: $ cp -vr /path/to/dir . ,