![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Sep 2004
Posts: 1
Rep Power: 0
![]() |
CVSNT (and probably CVS) recursively enter each (sub)directory and create a subdirectory called CVS.
How do I use WinZIP to create an archive that recursively contains all the files in a directory tree, except those in directories with the name "CVS"? I'm running bash from cygwin on a window 2003 server. Since I'm not even sure one can use WinZIP from a shell script, I better broaden the question to include jar or "tar cvfz". I expect I'd use /usr/bin/find. Thanks, Siegfried |
|
|
|
|
|
#2 |
|
Programmer
|
Try:
$ find . \! -name "CVS" -print | xargs tar cvfz
__________________
<span style='font-size:14pt;line-height:100%'><span style='color:red'>"Political power grows out of the barrel of a gun" - Mao Tse-Tung</span></span> |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|