![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find command uisng -prune or -only | 2reperry | UNIX for Advanced & Expert Users | 7 | 02-22-2008 11:55 AM |
| Find command with prune and exec options | Sebarry | UNIX for Dummies Questions & Answers | 2 | 06-19-2006 01:07 AM |
| Find command with prune and exec | Sebarry | UNIX for Advanced & Expert Users | 1 | 06-18-2006 10:43 AM |
| Use -prune with find command on AIX | FuzzySlippers | UNIX for Dummies Questions & Answers | 5 | 11-08-2002 05:24 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
find command with prune help
I have a directory named https-abcd
Under that I have some directories, files and links. One of those directories is with name logs and the logs directory has lot of files in it. I need to tar the whole https-abcd directory excluding the logs directory only, I should get all the links, files and directories in the tar. I am trying this command pwd /fs1/links/https-abcd find . \( ! -name "logs" \) -type f -exec cp {} /destination/directory \; But this is not working for the copy atleast. Could any one help me out please |
| Forum Sponsor | ||
|
|