Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
General Discussions
Switcher Hangout (Windows to Mac)
Copying one folder over another of the same name destroys data!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="KuruMonkey" data-source="post: 114066"><p>There is a -d for rm; in fact its the first option detailed in the man page.</p><p></p><p>And we were discussing copy, so mv is hardly appropriate. (mv, being in fact directly analogous to a cp followed by an rm - and cp vs mv having no bearing on whether the existing folder at the target location is deleted; only whether the source directory is deleted after the copy)</p></blockquote><p></p>
[QUOTE="KuruMonkey, post: 114066"] There is a -d for rm; in fact its the first option detailed in the man page. And we were discussing copy, so mv is hardly appropriate. (mv, being in fact directly analogous to a cp followed by an rm - and cp vs mv having no bearing on whether the existing folder at the target location is deleted; only whether the source directory is deleted after the copy) [/QUOTE]
Verification
Post reply
Forums
General Discussions
Switcher Hangout (Windows to Mac)
Copying one folder over another of the same name destroys data!
Top