bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] [PATCH] New feature: Strip leading path


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] [PATCH] New feature: Strip leading path
Date: Thu, 12 Apr 2007 00:15:49 +0300

Mikko Käär <address@hidden> wrote:

> Attached is a patch which implements --strip-leading-path
> Basically, running
> 
> tar --strip-leading-path -cf archive.tar /home/mikko /var/www/www-root

I don't see the need for this option, given that the same effect is
achieved by running

 tar --strip-leading-path -cf archive.tar -C /home mikko -C /var/www  www-root

(and, yes, this works with --files-from as well).
 
Regards,
Sergey 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]