| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
| Notice: | Welcome to the Digital UNIX Conference |
| Moderator: | SMURF::DENHAM |
| Created: | Thu Mar 16 1995 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 10068 |
| Total number of notes: | 35879 |
I'm trying to archive source files without SCCS libraries
Work ProjHome
/ | \ \
code scripts man ...
| | |
SCCS SCCS SCCS
cd $Work
Neither of these will work (the SCCS's and their contents are always
archived in addition to files in code, scripts and man catalogs):
tar cvFf project.tar -C $ProjHome ./code ./scripts ./man
(The F options is *supposed* to strip down SCCS libraries, according
to the man page!)
tar cvf project.tar -C $ProjHome \
./code -e ./code/SCCS ./scripts -e ./scripts/SCCS ./man -e ./man/SCCS
tar cvf project.tar -C $ProjHome ./code ./scripts ./man -e SCCS
I tried both /sbin/tar and /usr/bin/tar with the same failure.
Any clue?
Thanks,
-- Olivier.
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 9210.1 | have you tried this yet ? | ALFAM7::GOSEJACOB | Tue Mar 18 1997 09:51 | 13 | |
re .0
Hmmm, not exactly obvious but I think one of your problems is mixing
options and arguments. Have you tried:
tar cvf project.tar -C $ProjHome \
-e ./code/SCCS -e ./scripts/SCCS -e ./man/SCCS \
./code ./scripts ./man
works for me on my 4.0B system.
Cheers
Martin
| |||||
| 9210.2 | Nope... | AZUR::HUREZ | Connectivity & Computing Services @VBE. DTN 828-5159 | Wed Mar 19 1997 04:54 | 10 |
Thanks for the quick answer...
My system is V3.2 214. The command doesn't work on it (complains about
-e not beeing a file or directory :-(
It seems it's time to upgrade...
Thanks,
-- Olivier.
| |||||