-
Junior Member
registered user
Small Problem: List Directory in DOS-type
Helllo guys,
im searching for the correct linux command, listing directory contents in iso9660 type. so that long names are converted to 8.3 format.
Any ideas? Please help. I've already done it .. but that's long ago. I think there's a quite simpel solution.
-
Senior Member
registered user
floschi
You can always use the manual pages, to get help for most of the commands...
Like this:
man ls
my personal favorite ls command is:
ls -la
( which, will list out the contents of a current directory, in long file format, and all files - this includes files that start will the dot, or period )
If you prefer not to see the (dot) files, then the command would simply be:
ls -l
To add the recursive listing of folders below the current folder, use the following:
ls -lRa
( note the upper case R in the options on the command line )
Lastly, to get a listing of a folder that is not the current folder, append the path to the end of the command... Like this:
ls -lRa /etc/init.d
Hopefully, this helps,
Ms. Cuddles
-
Senior Member
registered user
<humor>
Below code should help (needs mods I don't have time for now):
ls -1|perl -pe'index($_,".")>6?s/([^.]{1,6}).*\./$1~1./:$_;s/^([^.]*).(...).*$/$1.$2/'
</humor>
Sorry, could not resist
--
$ To set up this Linux system, do I really have to type long, cryptic, frequently inconsistent
and undocumented commands with occasional long strings of hex digits?
# Yes. Do you have a problem with that?
Similar Threads
-
By bharat in forum Hardware & Booting
Replies: 2
Last Post: 09-15-2006, 07:24 PM
-
By Sass in forum Customising & Remastering
Replies: 0
Last Post: 09-18-2005, 08:57 AM
-
By HumanBlade in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-02-2004, 08:08 AM
-
By vmedina in forum Customising & Remastering
Replies: 0
Last Post: 02-11-2004, 05:35 PM
-
By spydie in forum General Support
Replies: 14
Last Post: 01-31-2004, 07:55 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$249.37
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot
$276.48
Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G
$217.13
New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB
$18.99
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$6.99
2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1
$16.72
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$325.50