|
From: | Joerg Schilling |
Subject: | Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option |
Date: | Mon, 5 Nov 2012 10:59:00 +0100 |
User-agent: | nail 11.22 3/20/05 |
Tim Kientzle <address@hidden> wrote: > > Put into list.txt : > > _manifest > > r/androidTrophy.dat > > r/libs/ > > r/libs/libAndroid.so > > r/InsTime > > r/prefs/ > > r/prefs/gl_ver > > > > tar -cvf myarchive.tar -T list.txt > > > > There are 2 hard links created, libAndroid.so and gl_ver > > You need to specify -n I would call this problem a cause from inconsistent behavior in gnu tar. The default behavior for working on a file list within a file should be not to descent directories as done on star. Star has an option -dodesc for the rare cases when you really need the behavior. Jörg -- EMail:address@hidden (home) Jörg Schilling D-13353 Berlin address@hidden (uni) address@hidden (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
[Prev in Thread] | Current Thread | [Next in Thread] |