Forcing ls output truncation

Advertisement

darko
Joined:
Posts:
2

Forcing ls output truncation

I have a slow FTP with 100k+ files and I need to get recent files.

When I do ls in Windows FTP client i get 12k results in a minute but that is acceptable in this scenario because those 12k are the most recent.

When I do ls in WinSCP lists all files but it takes over 8 minutes as do get with date mask

Is it possible to force WinSCP to truncate ls output?[/list]

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Forcing ls output truncation

When I do ls in Windows FTP client i get 12k results in a minute but that is acceptable in this scenario because those 12k are the most recent.
And what happens after the minute? Do you interrupt the script or what?

Reply with quote

Advertisement

You can post new topics in this forum