bug-coreutils
[Top][All Lists]
Advanced

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

How to overwrite the destination directory by 'cp'?


From: Peng Yu
Subject: How to overwrite the destination directory by 'cp'?
Date: Thu, 21 Jan 2010 16:35:13 -0600

Suppose I have directory a and b, the following command will copy the
content of a to b/a, rather than overwrite the directory 'b' by the
directory 'a'. I'm wondering if there is an option to overwrite 'b'?

cp -r a b




reply via email to

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