On Fri, Jun 17, 2016 at 12:57:38AM -0500, Jim Cole wrote:
> The behavior that I get is that the 'movies' directory is removed from the
> remote server.
> My understanding is that if the remote directory has a slash at the end
> that it wouldn't remove it.
This bug should be fixed in 4.7.3
--
Can you please look at this and help me?
#!/bin/bash
login="jim"
pass="password"
host="192.168.1.10"
remote_dir="/data//movies/"
local_dir="/mnt/user/downloads/movies/"
port=22270
pget=5
parts=5
lftp -p $port -u $login,$pass sftp://$host <<-EOF
set mirror:use-pget-n $parts
mirror -v