Re: GNU Tar on Windows XP

Gadrin <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <96757fb4-2083-4890-929c-ef9142286cf2@d21g2000prf.googlegroups.com>
find c:\Writing\Winbatch -type d | tar -cvf wr.tar -T - --no-recursion

okay that's a little better

however some of the folders start with \20... which I think tar
expands
into ???

actual names...

J:\Temp Folders\wbtTemp>find c:\Writing\Winbatch -type d
c:\Writing\Winbatch
c:\Writing\Winbatch\2007-Tutorial
c:\Writing\Winbatch\2007-Tutorial\Access
c:\Writing\Winbatch\2007-Tutorial\Excel
c:\Writing\Winbatch\2007-Tutorial\MSIE
c:\Writing\Winbatch\2007-Tutorial\Web

tar finds it as...

tar: Cannot add file c:\Writing\WinbatchÇ7-Tutorial: No such file or
directory
tar: Cannot add file c:\Writing\WinbatchÇ7-Tutorial\Access: No such
file or directory
tar: Cannot add file c:\Writing\WinbatchÇ7-Tutorial\Excel: No such
file or directory
tar: Cannot add file c:\Writing\WinbatchÇ7-Tutorial\MSIE: No such file
or directory
tar: Cannot add file c:\Writing\WinbatchÇ7-Tutorial\Web: No such file
or directory

Anyway, I'm pretty happy that we can get this far.

I'll have to see how tar handles the Extract I did on this folder with
all the files.

here's a quick -t so most of the files look like they're there. of
course I used
the UNIX-style path of c:/Writing/* to build it.

drwsrwsrwx user/group        0 2008-01-10 11:39 writing/Winbatch/2007-
Tutorial/
-rwSrwSrw- user/group      930 2007-09-19 10:41 writing/Winbatch/2007-
Tutorial/2007-Winbatch-Tutorial.txt
-rwSrwSrw- user/group    43559 2007-10-06 07:22 writing/Winbatch/2007-
Tutorial/230265.htm
drwsrwsrwx user/group        0 2008-02-23 10:15 writing/Winbatch/2007-
Tutorial/Access/
-rwSrwSrw- user/group     1365 2007-10-10 12:30 writing/Winbatch/2007-
Tutorial/Access/Acc-Export-Test-1.wbt
-rwSrwSrw- user/group     2603 2007-10-06 11:43 writing/Winbatch/2007-
Tutorial/Access/Acc-Import-Test-1.wbt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.