-
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 ![Wink](images/smilies/icon_wink.gif)
--
$ 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
![DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture](/store/img/qfQAAOSw9XRklkNR/s-l225//DELL-PowerEdge-R630-8SFF-Server-2x-E5-2680v4-2-4GH.jpg)
DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$346.00
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/CaAAAOSwEjBmj~ML/s-l225//Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$256.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/ZD0AAOSwm41mOZYw/s-l225//Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![Dell Poweredge R730xd 3.5 2x E5-2666 v3 2.9ghz 128gb H730 14x Trays 2x 1100w picture](/store/img/K~0AAOSwWQVkFJ7-/s-l225//Dell-Poweredge-R730xd-3-5-2x-E5-2666-v3-2-9ghz-128.jpg)
Dell Poweredge R730xd 3.5 2x E5-2666 v3 2.9ghz 128gb H730 14x Trays 2x 1100w
$519.99
![Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server picture](/store/img/ZfUAAOSw~TFmclF7/s-l225//Dell-PowerEdge-T620-8-Bay-LFF-Xeon-E5-2660-0-2-20G.jpg)
Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server
$174.99
![Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU picture](/store/img/eRUAAOSwD79mRLuR/s-l225//Dell-PowerEdge-R420-2-2-4-4C-16GB-8TB-RAID5-IDRAC7.jpg)
Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU
$125.00
![Dell Poweredge R420 3.5](/store/img/A0IAAOSwHTJmM-wg/s-l225//Dell-Poweredge-R420-3-5-2x-Xeon-E5-2430-2-2ghz-12-.jpg)
Dell Poweredge R420 3.5" 2x Xeon E5-2430 2.2ghz 12-Cores 24gb 2x 1TB 2x 550w
$169.99
![Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD  picture](/store/img/yAwAAOSwdyNlgQ8d/s-l225//Dell-PowerEdge-R720xd-26HDD-300gb-2-5-inch-E5-2697.jpg)
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
![DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture](/store/img/1hMAAOSw8hVl8bKq/s-l225//DELL-PowerEdge-R430-8SFF-2x-E5-2680v4-2-4GHz-28-Co.jpg)
DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$296.00
![DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture](/store/img/O2MAAOSwRtNkh97Y/s-l225//DELL-PowerEdge-R730-Server-2x-E5-2680v3-2-5GHz-24-.jpg)
DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45
$249.00