Sample Header Ad - 728x90

Certain file types not showing in Ranger preview

0 votes
1 answer
132 views
I have a bunch of csv files that are all just plain text csv files.
$ file ./*
file1.csv: ASCII text, with very long lines
file2.csv: CSV Text
I even generated file2.csv from file1.csv using cut. However, the files seem to be of different types. When previewing them on ranger, file1.csv previews as expected. But when I go to preview file2.csv, it just says
---------------File Type Classification----------------------------
CSV Text
How do I fix this? I have Ranger v1.9.3 and default config files (scope.sh, rc.conf, rifle.conf). This happens even when I run ranger as ranger -c Sidenote: Any idea why file2.csv shows up as "CSV Text" rather than an ASCII text file even when I generated it from an ASCII text file using simple bash commands like sed and cut
Asked by blackthorne18 (3 rep)
Mar 22, 2024, 12:40 PM
Last activity: Mar 12, 2025, 09:34 PM