![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Check backup file size on backup tape | ayhanne | UNIX for Dummies Questions & Answers | 0 | 10-25-2007 08:41 AM |
| du (exclude files) | the_learner | UNIX for Advanced & Expert Users | 1 | 07-17-2007 11:06 AM |
| How to exclude a record from unix file | Ryan2786 | UNIX for Dummies Questions & Answers | 1 | 06-27-2007 11:16 AM |
| Exclude & Zip | dreams5617 | Shell Programming and Scripting | 1 | 02-11-2007 05:01 PM |
| Getting 'tar' to exclude | kuultak | UNIX for Dummies Questions & Answers | 6 | 02-07-2005 04:31 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to exclude file in tar backup?
I am taking a backup of area with the following command:-
tar -cf -./* |/usr/contrin/bin/gzip >xxx.tar.gz. The area contains following files :- xxxx yyyy zzzzz asdaD DASdD WQWEE I want to backup all the files except yyyy from the following area. I checked manual page of tar but I didn't came across anything that was helpful. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You did not mention which OS.
GNU tar has the following: Code:
--exclude FILE
exclude file FILE
-X, --exclude-from FILE
exclude files listed in FILE
|
|
#3
|
|||
|
|||
|
I am using HP-UX 11.0.
|
|||
| Google The UNIX and Linux Forums |