Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th October 2008, 22:06
dealspiggy dealspiggy is offline
Member
 
Join Date: Mar 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to copy with these options?

I have two folders with identical names (e.g. images) and similar structures & files. Some files/sub-directories in one folder are complementary to those in the other. Some identical files are present in both folders. So I want to combine the two folders to make it complete without having to overwrite identical files (same name & size).

Can I just run 'cp -r' command?

btw: I use CentOS 5

Last edited by dealspiggy; 8th October 2008 at 22:08.
Reply With Quote
Sponsored Links
  #2  
Old 9th October 2008, 18:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Yes, you can.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[URGENT] : no more "sites" since update mumbly Installation/Configuration 21 18th November 2008 14:59
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 12:43
Strange "client" [ ::1] causing "Directory Index Forbidden by Options Directive" Err bpmee Server Operation 19 17th June 2008 16:01
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
Beyrl and Ubuntu 7.04 Toriacht Desktop Operation 17 23rd June 2007 21:40


All times are GMT +2. The time now is 14:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.