The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do you copy files from CD Schnell SCO 2 10-01-2007 03:29 PM
copy of files bkan77 UNIX for Advanced & Expert Users 2 09-06-2007 06:53 AM
copy files from one dir to another mohan705 Shell Programming and Scripting 6 02-21-2007 08:51 AM
How to copy N files from one dir to another GMMike UNIX for Dummies Questions & Answers 1 10-13-2005 08:50 AM
Copy all files 42!? UNIX for Dummies Questions & Answers 4 08-25-2002 12:05 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-29-2006
muru muru is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 15
copy files with diresctory hirarchy

I have a directory x and in that I have x.cpp and a directory named Y

and in y I have y.cpp and so on. and some other files too in those directories.

How can I copy only *.cpp files in whole x directory hirarchy to a different location with the same hirarchy?

I mean the whole x directory hirarchy with all *.cpp files and sub-directory names need to be copied to different location.

Any idea?
 

Bookmarks

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0