![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Splitting input files into multiple files through AWK command | arund_01 | Shell Programming and Scripting | 3 | 05-13-2008 10:17 AM |
| command to list dot files | Jakeman1086 | UNIX for Dummies Questions & Answers | 4 | 09-09-2007 02:42 AM |
| -r paramater with chown and rmdir | Eman619 | UNIX for Dummies Questions & Answers | 3 | 02-25-2007 03:37 AM |
| command to count files in dir | balireddy_77 | Shell Programming and Scripting | 4 | 11-15-2006 01:56 AM |
| Command to list all files | groundlevel | UNIX for Dummies Questions & Answers | 6 | 11-06-2005 05:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Cp All But Some Files, paramater for cp command?
I'm creating a shell script, part of which has a cp command.So far i've got:
cp --recursive --reply=yes /development/myProgram/* /somewhere/else I need to add something that says to not copy certain files, in this case all directories named "CVS" and files named ".project" and "project.index". I don't see an option to do this in the cp command. I suspect this can be done with grep, but a couple of attempts have failed. How can I do this? (Sorry if this gets posted twice, i thought i did once, but now I don't see it) |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|