4 ms·
I'm the author of the GH repo and I just want to give full credit for figuring out Chrome does this to this guy: https://twitter.com/a_de_pasquale https://twitt
by inglor 11y ago
I'm the author of the GH repo and I just want to give full credit for figuring out Chrome does this to this guy: https://twitter.com/a_de_pasquale https://twitter.com/a_de_pasquale
All I did was think "if it works for 65mb why not more?" and write a quick proof of concept. Gets to 10gb on my 4gig laptop and then crashes. (MBA, OSX 10.10).
- 0x0 11y agoWow, the twitter replies suggesting this was an accidental "tar cvf * backup.tar" sound right on the mark. Especially considering favicon.ico is probably the first file in a wp install, alphabetically.
- s_kilk 11y agoThis is my new favorite bug/mistake. It's just exquisite.
- jfb 11y agoIt really has it all, doesn't it?
- aw3c2 11y agoFor everyone struggling with tar, please be aware that you can use long-form arguments. So instead of "tar cvf filename files" you use "tar --create --verbose --file file.tar files" or maybe another order like ""tar --create --file file.tar --verbose files"- It is much more sensible and intuitive.
- andrepd 11y agoOnce you've used it more than once or twice, however, you will find that writing cfv is much more convenient than typing --create --verbose --file every time you want to tar something.
- sp332 11y agoBut if it's code you're only writing once - like in a script - you might consider using the longer ones to avoid screw ups and improve maintainability.
- tomphoolery 11y agoalways use long form flags when writing scripts...have some consideration for the person who has to fix your code when you move on
- icc97 11y agothere's an xkcd for that...: https://xkcd.com/1168/ https://xkcd.com/1168/
- aw3c2 11y agoI doubt that the creator or the promoters of the meme know about the long-form parameters. They make sense.
- inglor 11y agoWow, deeply impressed with Firefox who rolled a fix in 3 hours. Mad props.