List Command template
Posted: Tue Sep 25, 2012 10:15 am
Hello, is there a way to include the "summary" of a directory listing when using LFORMAT?
Now, exept from the Link (which I don't need ATM) almost the same output is printed by
but as you can see, the last line, specifically this one
is omitted.
Since I have some DVDs with long file names and I need to list their whole content and redirect the output to a file, I would like to have the complete usual list-output to be printed, including the summaries.
I think I have to use the LFORMAT option because of the long file names, and I can't see a way to format the output so to have a nice and clean justified listing.
if there is another way to achieve this, I'm all ears! 
Code: Select all
13.AmigaOS:> list ram:
Directory "ram:" on Tuesday 25-Sep-12
au.log 156 ----rwed Today 08:24:39
Disk.info 7946 ----rwed Today 08:24:25
> ENVARC:Sys/def_RAM.info
Clipboards Dir ----rwed Today 08:24:19
T Dir ----rwed Today 10:13:14
2 files - 7K bytes - 2 directories - 23 blocks used
Code: Select all
13.AmigaOS:> list ram: sort=rt,name lformat "%-29n %l %a %d %t"
Clipboards Dir ----rwed Today 10:16:28
T Dir ----rwed Today 10:13:14
au.log 156 ----rwed Today 08:24:39
Disk.info 7946 ----rwed Today 08:24:25
Code: Select all
2 files - 7K bytes - 2 directories - 23 blocks used
Since I have some DVDs with long file names and I need to list their whole content and redirect the output to a file, I would like to have the complete usual list-output to be printed, including the summaries.
I think I have to use the LFORMAT option because of the long file names, and I can't see a way to format the output so to have a nice and clean justified listing.
Code: Select all
LIST DVD-001: SORT=RT,NAME ALL LFORMAT "%-50n %l %a %d %t" >ram:DVD-001_Content.txt
