Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need the Bash code for select file in a set of files. I use something like this

find . -type f -name \*.txt

to locate the set of files I want to work with. After that I would want select only the files chosen by the user to make something.

P.S. I need to do it without the function 'select' if is possible.

Can anybody help me? Thank you.

share|improve this question

closed as not a real question by Paul, grawity, Sathya Nov 17 '11 at 4:34

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This sounds like a programming question more than a user one - maybe more appropriate for Stack Overflow? Beyond that, can you explain a little more what you want to happen? You want to use the find command to show all the files and then let the user trim the selections? –  Telemachus Nov 17 '11 at 0:41
    
What exactly are you asking for here? You will need to write a script that presents the files to the user and accepts input back. –  Paul Nov 17 '11 at 0:43

Browse other questions tagged or ask your own question.