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?
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