DIR command truncates long file names

General development discussion.

Moderators: Susan Smith, admin, Gabriel

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

DIR command truncates long file names

Postby Mikhail » Thu Nov 05, 2015 7:27 pm

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: 246
Joined: Fri Jun 19, 2009 9:01 am
Location: Topeka, Kansas
Contact:

Re: DIR command truncates long file names

Postby bluesfannoz » Thu Nov 05, 2015 7:32 pm

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


Return to “General Development”

Who is online

Users browsing this forum: No registered users and 1 guest

cron