Yeah, thanks it works like this too:
bufdo !tar -vrf /path/to/archive.tar  %:p

How do I avoid the
"Press ENTER or type command to continue"
prompt after each file is processed?

On 22/11/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Eric Smith wrote:
> I want to make a tar file that includes the full pathname.
> When I go
> :bufdo ! tar -vrf archive_with_full_path.tar %
>
> The `%' does not expand the full path so I do not get the path
> information into the tar file.
>
> How could I best achieve what I want?
>

Try (untested)

        bufdo exe '!tar -vrf /path/to/archive.tar' expand('%:p')

see ":help expand()"


Best regards,
Tony.



--
Eric Smith

Reply via email to