LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-09-2008, 10:44 PM   #1
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
copy recursively across directories


I wan to copy the files in these directories.

From


topdir/subdir1
/subdir2
/subdir3/
/subdir4/subsubdir1

TO

topdir/subdir1
/subdir2
/subdir3/
/subdir4/subsubdir1

So both have the same structure and both have files, I want to add them together within the same structure without overwriting any files/dirs at the destination.

Thanks
 
Old 11-09-2008, 11:01 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 83
take a look at rsync
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy directories and files recursively using C shell or bash shell bostonuser Programming 7 06-06-2008 02:24 AM
Recursively chmod directories simonx Linux - Newbie 6 10-31-2007 02:01 PM
Recursively zipping directories AckSed Linux - Newbie 2 10-19-2007 08:29 PM
chmod directories recursively mfilippa Linux - Newbie 3 04-17-2006 08:24 PM
recursively copy php.ini to www directories osio Programming 3 07-01-2005 05:24 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration