[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cp command

From: Chris Robinson
Subject: cp command
Date: Fri, 28 Mar 2003 15:39:49 +0200


I think the cp command behaves inconsistently.

Given the following directory structure....


.... the following 2 commands from within /tmp should produce the same result
in /tmp/x and /tmp/y

cp -a a x
cp -a a y

....but they don't. The result is:


If the target directory exists the command copies the source directory
itself and its contents into the target directory. If  the target directory
does not exist it is created but only the source directory's contents are


Chris Robinson
Iceberg Software cc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]