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



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.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-19-2002
Registered User
 

Join Date: Dec 2001
Location: San Jose CA
Posts: 32
recursive copy of hidden files

I need to know how to copy hidden files recursively?

cp -r sourceDir/* targetDir/.

ignores the hidden files.

Thank you!!
Sponsored Links
  #2 (permalink)  
Old 02-19-2002
thehoghunter
Guest
 

Posts: n/a
Bits: 0 [Banking]
Take the wildcard off.

This worked for me (Solaris 2.6)

cp -r sourceDir/ targetDir/
  #3 (permalink)  
Old 02-19-2002
Registered User
 

Join Date: Dec 2001
Location: San Jose CA
Posts: 32
Smile

Thank you!
It worked!!
Sponsored Links
Closed Thread

Bookmarks

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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to display only hidden files useless79 Shell Programming and Scripting 7 11-12-2008 05:50 AM
find excluding the hidden files arunkumar_mca UNIX for Advanced & Expert Users 3 01-27-2008 11:45 PM
Finding Hidden files and protecting the folder containing hidden files from deletion pochaw Shell Programming and Scripting 4 12-22-2007 01:33 AM
Transferring hidden files with scp matrixmadhan UNIX for Dummies Questions & Answers 13 01-16-2007 04:00 PM
how to copy hidden files from one folder to another rajan_ka1 UNIX for Dummies Questions & Answers 1 11-07-2005 09:04 AM



All times are GMT -4. The time now is 06:50 AM.


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-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0