Skip to main content
7 events
when toggle format what by license comment
Feb 18, 2022 at 12:42 vote accept WesternGun
Feb 11, 2022 at 16:06 comment added Kamil Maciorowski Oh well, I wrote "probably", not "certainly". Anyway, it's nice you have solved your problem. Upvoted.
Feb 11, 2022 at 16:04 comment added WesternGun With your 2nd form, I have error: tar: opt/amq/activemq-all-5.11.0.redhat-630495.jar: Not found in archive, and the resulting tar is much smaller than the original one. It stops at lib/ and did not process dirs afterwards, as tar errors out. The first form works the same. Thanks for helping. I see this tar is so widely used but still with much myth around it.
Feb 11, 2022 at 16:00 comment added WesternGun I understand the first simplified version, and for the 2nd, you mean the deletion initially not working/taking toooo long, because I didn't redirect it to another archive right? Let me test again
Feb 11, 2022 at 15:57 comment added Kamil Maciorowski I'm pretty sure this cat tar_archive | tar f - --delete filename_to_delete >another_archive can be simplified to <tar_archive tar f - --delete filename_to_delete >another_archive and probably even to tar f tar_archive --delete filename_to_delete >another_archive.
Feb 11, 2022 at 15:52 history edited WesternGun CC BY-SA 4.0
deleted 4 characters in body
Feb 11, 2022 at 15:46 history answered WesternGun CC BY-SA 4.0