This is the mail archive of the
cygwin
mailing list for the Cygwin project.
tar deletes .exe files on extraction
- From: "Steven Hartland" <killing at multiplay dot co dot uk>
- To: "Cygwin List" <cygwin at cygwin dot com>
- Date: Sat, 8 Aug 2009 03:16:14 +0100
- Subject: tar deletes .exe files on extraction
If you extract a tar.gz file with an executable file and
an excitable file of the same name but with the .exe extension
on extract the .exe file is inexplicably deleted.
e.g.
tar -xvzf test.tar.gz
mydir/myexe.exe
mydir/myexe
ls myddir
myexe
rm -rf mydir; tar -xvzf test.tar.gz; mydir/myexe.exe
mydir/myexe.exe
ls myddir
myexe.exe
rm -rf mydir; tar -xvzf test.tar.gz; mydir/myexe
mydir/myexe
ls myddir
myexe
This happens with:-
tar (GNU tar) 1.22
CYGWIN_NT-6.1-WOW64 blade14 1.7.0(0.212/5/3) 2009-07-24 09:59 i686 Cygwin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple