problem with tar on 5.1?
    Lowell Gilbert 
    freebsd-questions-local at be-well.ilk.org
       
    Sun Nov  9 12:01:42 PST 2003
    
    
  
Rod Person <rodperson at comcast.net> writes:
> according to the man page for tar --exclude-from and -X are supported.
> This command does not do what I expected it to do:
>  tar -cz -f/usr/local/tmp/RoddieRodHome.tgz /home/roddierod 
> --exclude-from=/home/roddierod/.pan
> 
> Now I would expect that this would create a tar gzip file called 
> RoddieRodHome.tgz and tar ball of my home with every thing but the files in 
> .pan. But it does include the .pan directory.
> 
> Is the --exclude-from not supported even though it is in the manpage?
I think you're confusing --exclude with --exclude-from.
What you typed should have excluded all of the files that were listed
in a file named "/home/roddierod/.pan".
    
    
More information about the freebsd-questions
mailing list