Giter VIP home page Giter VIP logo

Comments (5)

NaPs avatar NaPs commented on July 17, 2024

You can do:

$ kolekto import ./Folder/*.mkv

Is this feature really needed?

from kolekto.

nadley avatar nadley commented on July 17, 2024

Yes it can be a solution but not the best in my opinion as we need to run
the import command for each extension. Unless we can do something like
this :

$ kolekto import ./Folder/*.{mkv,avi,webm}

I'll try to implement this feature and make a PR for it if you want :-) it
will be my small contribution to this great tool.
Le 2 août 2013 23:06, "Antoine Millet" [email protected] a écrit :

You can do:

$ kolekto import ./Folder/*.mkv

Is this feature really needed?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-22035824
.

from kolekto.

NaPs avatar NaPs commented on July 17, 2024

Actually your example will work as expected (your shell will expand the pattern) :-).

from kolekto.

nadley avatar nadley commented on July 17, 2024

Ok so maybe this feature is not needed as you said or with a low priority
to give the ability to import a folder without thinking about what is
inside it.

from kolekto.

NaPs avatar NaPs commented on July 17, 2024

Note that I'm not totally against your idea, I just want to be sure that the feature is really useful.

I also think that this feature is not so trivial to implement. A naive filtering based on the file extension is not sufficient (imho), the number of different video file extensions is very large, and if we miss one of them, it can be annoying to a user. Adding a parameter to enable the filter and specify extension doesn't bring more functionally than the shell expansion. A filter based on the file content (like the "file" binary) become really complicated...

from kolekto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.