![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copy unique files between two directories in Solaris | sujoy101 | Shell Programming and Scripting | 2 | 03-22-2008 02:59 AM |
| Copy single file to multiple directories | kthatch | UNIX for Dummies Questions & Answers | 2 | 11-11-2007 06:10 PM |
| get files from multiple directories using FTP | amit1209 | Shell Programming and Scripting | 2 | 09-26-2007 10:39 AM |
| How do copy certain files and directories from one hard drive to another? | shorty | UNIX for Dummies Questions & Answers | 4 | 02-11-2006 08:26 PM |
| FTP multiple files to different directories | abrd600 | Shell Programming and Scripting | 12 | 09-23-2004 08:56 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
copy multiple files in different directories
I have a report file that is generated every day by a scheduled process.
Each day the file is written to a directory named .../blah_blah/Y07/MM-DD-YY/reportmmddyy.tab I want to copy all of this reports to a separate directory without having to do it one by one. However, if I try cp .../blah_blah/Y07/*/report*.tab /new_directory/report*.tab I get "cannot create /new_directory/report*.tab: no such file or directory" however, ls .../blah_blah/Y07/*/report*.tab displays all the files I want to copy. How do I do this? Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|