[Wlug] list filenames within directory > output to text file?

E Johnson iris.gates at gmail.com
Tue May 8 18:08:08 EDT 2012


Wow you guys are great.

I need only the filesnames in a specific directory This has no
subdirectories, only about 400-500 files, all the same kind (pdf's)

Liz



On 8 May 2012 17:54, Jason Couture <plaguethenet at gmail.com> wrote:
> Do you need just the current directory? or do you need to walk
> subdirectories as well?
>
> This e-mail transmission, including any attachments, is intended only
> for the named recipient(s) and may contain information that is
> privileged, confidential and/or exempt from disclosure under
> applicable law. If you have received this transmission in error, or
> are not the named recipient(s), please notify the sender immediately
> by return e-mail and permanently delete this transmission, including
> any attachments.
>
>
> On Tue, May 8, 2012 at 5:52 PM, E Johnson <iris.gates at gmail.com> wrote:
>> Is there an app or command line tool which can copy all filenames
>> within a certain directory, and output these filenames to a plain-text
>> file?
>>
>> I need to list about 400 filenames, then drop these into an xl doc, in
>> order to sort.
>>
>> Don't need to know permissions or anything else.
>>
>> I think sort might do it < http://ss64.com/bash/sort.html >, but
>> probably I need help creating a command that will list only the file
>> names, which I can then copy/paste to an xl doc.
>>
>> I am running Debian. I have one Squeeze and one Lenny here.
>>
>> Thanks extremely,
>> Liz J
>> _______________________________________________
>> Wlug mailing list
>> Wlug at mail.wlug.org
>> http://mail.wlug.org/mailman/listinfo/wlug
> _______________________________________________
> Wlug mailing list
> Wlug at mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug


More information about the Wlug mailing list