>On Sat, 2004-01-17 at 10:28, Robert Nichols wrote: >> >> If you're building a list of things to include in a tar archive, >> never include a directory name unless you really want *everything* >> below that directory. There is no way to include just a directory >> name in a tar archive without having tar recurse into that directory. >> >> -- >> Bob Nichols rnichols@xxxxxxxxxxxxxxx >> >> Not strictly true, and probably depends on your version of tar to some extent.. however : slick: {6} tar --norecurse -cvf foo.tar foo foo/ slick: {7} ls foo LICENSE.txt README.txt WebServer setup setup.inf Only added the directory, not the contents or subdirectories. Cheers, Al