ll - long format file listing
File mimics output of the Linux 'ls -l' command. File are listed one per line, with directory flag, file size, modification date and file name.
Input parameter is directory name to be listed. Wild characters are permitted (as in Matlab dir command).
Output is cell array of file names (e.g. without trailing spaces, as in 'names=dir(path);')
Examples:
>> ll test-dir
d 0 29-Jan-2010 14:24:36 New Folder
d 0 29-Jan-2010 14:24:42 New Folder (2)
307 15-Dec-2008 14:18:10 get_varargin.m
77 19-May-2009 09:39:26 my_deg2rad.m
88 13-Nov-2008 10:20:44 my_lmin2m3s.asv
104 13-Nov-2008 10:21:22 my_lmin2m3s.m
>> ll test-dir/my_*.m
77 19-May-2009 09:39:26 my_deg2rad.m
104 13-Nov-2008 10:21:22 my_lmin2m3s.m
>> files = ll( 'test-dir/my_*.m' )
77 19-May-2009 09:39:26 my_deg2rad.m
104 13-Nov-2008 10:21:22 my_lmin2m3s.m
files =
'my_deg2rad.m' 'my_lmin2m3s.m'
Cite As
Justin (2024). ll - long format file listing (https://www.mathworks.com/matlabcentral/fileexchange/26526-ll-long-format-file-listing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |