![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copy files from the file to another directory | shreethik | SUN Solaris | 4 | 12-20-2007 01:26 PM |
| Copy files from a directory by ftp | hippa77 | UNIX for Dummies Questions & Answers | 3 | 10-06-2007 11:26 AM |
| copy files with directory structure | adddy | UNIX for Dummies Questions & Answers | 3 | 12-11-2006 05:50 AM |
| Copy files from one directory to another | hd2006 | Shell Programming and Scripting | 0 | 06-07-2006 11:29 AM |
| copy files from one directory to another directory | zip_zip | UNIX for Dummies Questions & Answers | 5 | 09-14-2003 03:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi
when copy the files from one directory to another as like below,it is tried to copy *.[Cc][Ss][Vv] as a file. cp /home/rha/*.[Dd][Aa][Tt] My objective is to copy all the files (don't care about case sensitive), Thanks in advance for your valuable reply. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Code:
find /home/rha -iname "*.dat" -exec cp {} /destination/dir \;
|
||||
| Google The UNIX and Linux Forums |