|
|||||||||
| 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. |
learn unix and linux commands |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
Take the wildcard off.
This worked for me (Solaris 2.6) cp -r sourceDir/ targetDir/ |
| Sponsored Links | ||
|
|
|
#3
|
||||
|
||||
|
Thank you!
It worked!! |
| Sponsored Links | ||
|
|
![]() |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| recursive search and copy | cabaciucia | Shell Programming and Scripting | 1 | 02-02-2012 07:53 AM |
| Recursive copy to a RANDOM name | xerexes | UNIX for Dummies Questions & Answers | 10 | 10-23-2008 08:19 AM |
| recursive copy of the directory | deepthi.s | Programming | 7 | 08-23-2008 02:06 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 |
| how to copy hidden files from one folder to another | rajan_ka1 | UNIX for Dummies Questions & Answers | 1 | 11-07-2005 09:04 AM |
|
|