Re: General question
"Michal W. " <[email protected]> Wed, 11 Feb 2015 07:23:44 +0000
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <[email protected]> |
Yup already using second example :). Thank you! Awesome app! > On 11 Feb 2015, at 06:06, Alexander V. Lukyanov <[email protected]> wrote: > >> On Tue, Feb 10, 2015 at 08:42:07PM +0000, Michal Wiczynski wrote: >> My question is if it's possible to download just one file, but using >> mirror. > > You can mirror a single file by name (see mirror -f option). > >> For example I would like to download oldest file from the server >> without earlier knowing its name and disconnect? > > You have to find the name of that file first. E.g.: > > cls --sort=date -rF | grep -v '/$' | head -1 > tmp-file > source -e "echo mirror -f `<tmp-file`" > !rm -f tmp-file > > -- > Alexander. _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp