tar all files in buffer preserving path

2006-11-22 Thread Eric Smith
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? -- Eric Smith

Re: tar all files in buffer preserving path

2006-11-22 Thread Tom Purl
This seems like a pretty sweet tip. It would be much appreciated if you could post a fleshed-out version of this tip, along with some possible use cases on the vim.org tips page. Thanks! Tom Purl Yeah, thanks it works like this too: bufdo !tar -vrf /path/to/archive.tar %:p How do I avoid