News for hackers. Stuff that matters.
Re:Show HN: Extract it – Because nobody can remember tar com... by txutxu on Thursday September 10, 2015 @06:59PM (#10201076)
Does not work if I don't use a dot at the beginning of the extension.

    .tar -> enter -> works
    tar  -> enter -> nothing happens

I use an extract() function on my shell initialization files. It deals with most formats for me.

Anyway nice to see it implemented on a web interface, the source code is really brief :-)

Right now it supports tar, tar.gz, tar.bz, tar.bz2 and zip. If you want to deal with more formats, you have plenty of places to look for the 'ext => cmd' relation:

     https://github.com/search?q=extract
Re:Show HN: Extract it – Because nobody can remember tar com... by madprops on Thursday September 10, 2015 @07:25PM (#10201164)
>Does not work if I don't use a dot at the beginning of the extension.

Maybe because you're expected to type the full filename, for example crash34_master.tar.gz