Ticket #4455 (new enhancement)

Opened 15 months ago

Last modified 15 months ago

MC could really use FTP's MLSD command

Reported by: birdie Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

For sufficiently old files MC doesn't list modification times, thus retrieves all the old files as having modification times at 12:00:00PM.

Please use the MLSD command which allows to get a very nifty listing of files with modification times as UNIX timestamps which is a ton easier to parse.

Here's a sample listing:

Size=435123;Modify=20141113182638;Type=file;Perm=radfw; blue-pattern-hd-xperia-z2-wallpaper.jpg
Size=321533;Modify=20141113182639;Type=file;Perm=radfw; cloudy-mountain-hd-xperia-z2-wallpaper.jpg
Size=137009;Modify=20141113182638;Type=file;Perm=radfw; connect-sony-xperia-z2-wallpaper.jpg
Size=162090;Modify=20141113182639;Type=file;Perm=radfw; create-sony-xperia-z2-wallpaper.jpg
Size=179896;Modify=20141113182640;Type=file;Perm=radfw; discover-xperia-z2-wallpaper.jpg
Size=255972;Modify=20141113182638;Type=file;Perm=radfw; experience_black.jpg
Size=132240;Modify=20141113182638;Type=file;Perm=radfw; experience_blue.jpg
Size=187105;Modify=20141113182641;Type=file;Perm=radfw; experience_copper.jpg
Size=123621;Modify=20141113182641;Type=file;Perm=radfw; experience_green.jpg
Size=132521;Modify=20141113182640;Type=file;Perm=radfw; experience_orange.jpg
Size=123511;Modify=20141113182639;Type=file;Perm=radfw; experience_purple.jpg
Size=133212;Modify=20141113182640;Type=file;Perm=radfw; experience_red.jpg
Size=132917;Modify=20141113182640;Type=file;Perm=radfw; experience_silver.jpg
Size=644731;Modify=20141113182640;Type=file;Perm=radfw; field_at_sunset_hd1080p.jpg
Size=870868;Modify=20141113182640;Type=file;Perm=radfw; green_jungle_hd1080p.jpg
Size=484443;Modify=20141113182639;Type=file;Perm=radfw; grey_lake_hd1080p.jpg
Size=197327;Modify=20141113182639;Type=file;Perm=radfw; hero-flow-black-xperia-z2-wallpaper.jpg
Size=144181;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-blue-xperia-z2-wallpaper.jpg
Size=107137;Modify=20141113182639;Type=file;Perm=radfw; hero-flow-grey-xperia-z2-wallpaper.jpg
Size=122518;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-orange-xperia-z2-wallpaper.jpg
Size=102681;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-purple-xperia-z2-wallpaper.jpg
Size=171204;Modify=20141113182641;Type=file;Perm=radfw; hero-flow-red-xperia-z2-wallpaper.jpg
Size=166346;Modify=20141113182639;Type=file;Perm=radfw; hero-flow-xperia-z2-wallpaper.jpg
Size=794046;Modify=20141113182640;Type=file;Perm=radfw; leaves-xperia-z2-wallpaper.jpg
Size=144002;Modify=20141113182639;Type=file;Perm=radfw; listen-xperia-z2-wallpaper.jpg
Size=156957;Modify=20141113182639;Type=file;Perm=radfw; relax-xperia-z2-wallpaper.jpg
Size=183492;Modify=20141113182641;Type=file;Perm=radfw; xperia-z2-wallpaper.jpg

Change History

comment:1 Changed 15 months ago by birdie

There's also the MDTM command which does the same:

MDTM experience_black.jpg 
213 20141113182638
Note: See TracTickets for help on using tickets.