opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-tar@gnu.org 24 November 2009 • 3:53AM -0500

Re[Help-tar] moving folders from a tar
by Jessie Grenfell

REPLY TO AUTHOR
 
REPLY TO GROUP





I'm creating a tar file (with a VBA script, but that shouldn't matter). The
command used to generate the file is below. The problem is, the tar file
includes the full path of the files that were included in the file. I need
to either create it or modify it afterwards so the resulting tar file
includes just the files in the last folder (8314048612111209). I realize
this is probably simple, but my attempts to add in the strip-components
option have resulted in syntax errors. Can anyone help with the correct
command for this?

C:\Progra~1\GnuWin32\bin\bsdtar -cf
L:\HRA-LIDS\BatchFiles\2009-11-12\8314048612111209.tar
L:\HRA-LIDS\BatchFiles\2009-11-12\8314048612111209
--
View this message in context: http://old.nabble.com/Removing-folders-from-a-tar-tp26484711p26484711.html
Sent from the Gnu - Tar - Help mailing list archive at Nabble.com.




Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.