coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determination of file lists from selected folders without returning


From: SF Markus Elfring
Subject: Re: Determination of file lists from selected folders without returning directory names
Date: Tue, 18 Jul 2017 17:37:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

> When you expand dir/*txt, each one of the expansions is a correct
> relative path to an object.

I agree.


> The stripped basenames aren't.

They can be used for special data processing tasks.


> Whatever "my_work" is doing, if it involves accessing the files,
> you're probably making its job more difficult.

Such a view depends on the desired implementation details.

Use cases:
* The reduced names can belong to well-known directories.

* File name usage can be analysed across the directory hierarchy.


> Or "my_work" could be given a quoted pattern:
> 
>    my_work '*.txt'
> 
> then it can expand it as needed, in whatever directory it wants.

Are there other programs (besides the tool “find”) which support
such a data processing style?

Regards,
Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]