DIR command truncates long file names

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
Mikhail
Posts: 87
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

DIR command truncates long file names

Post by Mikhail »

In BR when you redirect the output of the DIR command to a file, file names longer than 30 characters get truncated. Is there a workaround for this?

I am working with a large set of files with all kinds of very long names (30 to 50 characters on average), and need to be able to read these names in BR via DIR command, or some other method...
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Re: DIR command truncates long file names

Post by bluesfannoz »

dir -b should get you just the long filenames
Steve Koger
Computer Specialist
SEKESC-MACS Division
Post Reply