help-tar
[Top][All Lists]
Advanced

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

Re[Help-tar] moving folders from a tar


From: Jessie Grenfell
Subject: Re[Help-tar] moving folders from a tar
Date: Mon, 23 Nov 2009 11:53:01 -0800 (PST)

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.





reply via email to

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