On Sat, Feb 02, 2013 at 10:39:03AM -0500, b...@lavabit.com wrote:
> First, I noted that the progress bar was removed in this release when
> running non-interactively.  Would it be possible to add a verbosity level
> to enable this feature instead of automatically turning it off?  It is
> useful when mirroring files to indicate a network problem, as well as the
> progress and speed of the current transfer.

"set cmd:interactive yes" command should enable the status line again.

> lftp -c "mirror -c --use-pget-n=4 --verbose -I *somefilename*
> sftp://somehost.com/~/dir/.";
> 
> IIRC, this matches files but not directories.
> 
> Can someone provide a non-interactive solution that will glob both
> directory and individual files?

You can include both the file and directory:

lftp -c "mirror -c --use-pget-n=4 --verbose -i "^*somefilename*($|/)"

But the *somefilename* should have meta-symbols quoted.

-- 
   Alexander.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to